How to traverse in jQuery using filtering methods?

	body,div,table,thead,tbody,tfoot,tr,th,td,p { font-family:"Liberation Sans"; font-size:x-small }

Hi friends, I am a javascript learner & want to learn how to traverse in jQuery using filtering methods in which we search or select HTML elements or attributes of a web page… Hoping great support & suggestions.

$(selector) selects elements in the document that match the selector.


$('p') selects all paragraphs in the document.
$('.my-class') selects all elements with the ‘my-class’ class attribute.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.