jQuery Multiple choices


Total available count: 24
Subject - JavaScript Frameworks
Subsubject - jQuery

Look at the following selector: $("div p"). What does it select?


 

 

 

 



C


Solution:-

jQuery selectors allow you to select and manipulate HTML element(s). jQuery selectors are used to "find" (or select) HTML elements based on their name, id, classes, types, attributes, values of attributes, and much more.

The following selector: 

$("div a")

It selects all anchor(a) elements inside a div element.




Next 5 multiple choice(s)

1

Is jQuery a W3C standard?

2

Look at the following selector: $("p#intro"). What does it select?

3

Which jQuery method is used to remove selected elements?

4

Look at the following selector: $(":disabled"). What does it select?

5

Which jQuery method returns the direct parent element of the selected element?

Comments