JQuery Programmer Question:
Download Job Interview Questions and Answers PDF
How 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 Programmer Interview Questions And Answers
PDF
Previous Question | Next Question |
How to prevents the browser from executing the default action using jQuery? | How to set the html contents of an element using jQuery? |