How to select element having a particular class (".selected")?

Answer Posted / chaitanya

$('.selected'). This selector is known as class selector. We need to prefix the class name with "." (dot).

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is only the first page of multi page document loaded? : jquery mobile

451


What are the various ajax functions?

490


What does $("P") will select?

503


Define all the ways to include jquery in a page?

447


How to use css() in jquery?

459






How to get the value of selected option in jquery?

473


What is a use of jquery filter?

510


Explain the basic need to start with jquery? : jquery mobile

436


Explain .siblings() method in jquery?

8664


What is the difference between jquery.get() and jquery.ajax()?

458


How do you get the attribute of an html tag in jquery?

428


Is jquery a library for client scripting or server scripting? : jquery mobile

417


How to Use the jQuery load() Method?

531


Which one is more efficient, document.getElementbyId( "myId") or $("#myId)?

502


How to multiple AJAX requests be run simultaneously in jQuery?

426