jQuery Multiple choices


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

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


 

 

 

 



B


Solution:-

Look at the following selector: 

$("p#intro")

What does it select?

From the above selector, it selects all the p elements with ID intro. p is an element in HTML and the # tag indicates the ID of the element.




Next 4 multiple choice(s)

1

Which jQuery method is used to remove selected elements?

2

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

3

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

4

The jQuery animate() method can be used to animate ANY CSS property?

Comments