What is the jQuery code to select all links inside the paragraph?



What is the jQuery code to select all links inside the paragraph?..

Answer / Reetika Yadav

To select all links inside a paragraph, you can use the following code: `$('p a')`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

How we can get the input value of an element using jquery?

1 Answers  


What are the fastest selectors in jQuery?

1 Answers  


What is the difference between text() and html() in jquery?

1 Answers  


Which selector has better performance id or class and why?

1 Answers  


Which is the latest version of jQuery library?

1 Answers  


How to set attributes of an element using jquery?

1 Answers  


What is meant by a deep copy? : jQuery Mobile

1 Answers  


What is the difference between find and children methods in jquery?

1 Answers  


How to disable jquery animation? : jquery mobile

1 Answers  


How do you select an item using css class or id and get the value by use of jquery.

1 Answers  


Can you please explain the difference between parent() and parents() methods in jquery? : jquery mobile

1 Answers  


What is event.PreventDefault?

1 Answers  


Categories