adspace
What is jQuery code to select all links in first paragraph?
Answer Posted / Manmohan
To select all links within the first paragraph using jQuery, use `$('p:first-child a')`. This will return an array of all <a> elements that are children of the first <p> element.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the minimum setup needed to start using jquery.
How can jquery library be added to pages?
How to validate email using jquery?
How to always reference latest version of jquery?
Do you have plans for a new jquery plug-in or something else we should look out for? Where to from here for the imgpreview plugin?
How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.