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
What is the jQuery code to select all links inside the paragraph?
How to disable/enable an element in jquery?
How to add and remove css classes to an element using ?
Difference between parent() and parents() in jQuery?
Difference between prop() and attr()? : jQuery Mobile
Change the url for a hyperlink using jquery?
Explain chaining in jquery? : jquery mobile
Is jQuery is a client or server scripting?
What is the difference between onclick and onsubmit?
What are the browser related issues for jQuery?
How to set attributes of an element using jquery?
Define "beforesend(xhr)" paremeter of jquery ajax method?
Write a code for the implementation of a module pattern.
What are the types of selectors that are used in jquery? Give examples.
What is event.PreventDefault in jQuery?