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



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

Answer / 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

More jQuery Interview Questions

What programming language does jquery use?

0 Answers  


What is difference between .setinterval() and .delay() ?

0 Answers  


What is the method used to define the specific character in place of $ sign?

0 Answers  


Can you give me a brief history of your programming days? Where did it all start?

0 Answers  


What is jquery mobile theming? : jquery mobile

0 Answers  


What methods used to provide effects?

0 Answers  


Tell me how to check data type of any variable in jquery? : jquery mobile

0 Answers  


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

0 Answers  


Why html 5 inputs look different across devices and browsers? : jquery mobile

0 Answers  


Tell me what does $("div") will select? : jquery mobile

0 Answers  


Define cdn in jquery?

0 Answers  


Can we have multiple document.ready() function on the same page? : jquery mobile

0 Answers  


Categories