jQuery Mobile Question:
Download Questions PDF

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

Answer:

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

Download jQuery Mobile Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me what does $("div") will select?Which are the fastest selectors in jQuery?