0 works

How to Select Specific Elements with jQuery


dashboard

Posted by @mishka #javascript

var blogHeaders = $("h2");
content_copy

All h2 elements in the document are selected in the code snippet. Can be used to grab any HTML element.


>> Browse more code snippets

more_vert