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 is the minimum setup needed to start using jquery.

0 Answers  


What are the effects methods used in jquery?

0 Answers  


Explain remove class jquery with example?

0 Answers  


What is event.PreventDefault in jQuery?

0 Answers  


What is .bind()? : jquery mobile

0 Answers  


Can you call C# code-behind method using jQuery? If yes,then how?

1 Answers  


How To Use Ajax In Jquery?

0 Answers  


Explain the difference between size and length of jquery?

0 Answers  


What is CDN?

0 Answers  


What is the difference between find and children methods?

0 Answers  


What are deferred and promise object in jQuery?

1 Answers  


How we can remove an attribute of an html tag in jquery?

0 Answers  


Categories