0 points

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.





LISTS WITH THIS SNIPPET

>> Browse more code snippets

more_vert