Computer Science, asked by bobypal126, 10 months ago

With jQuery, look at the following selector's:("div.intro"). What does it have select?

Answers

Answered by panesarh989
0

Answer:

1. Which of the following is correct?

jQuery is a JavaScript Library

jQuery is a JSON Library

2. jQuery uses CSS selectors and XPath expressions to select elements?

False

True

3. Which sign does jQuery use as a shortcut for jQuery?

the % sign

the ? Sign

the $ sign

4. With jQuery, look at the following selector: $(“div”). What does it select?

The first div element

All div elements

5. Is jQuery a library for client scripting or server scripting?

Client scripting

Server scripting

6. Is it possible to use jQuery together with AJAX?

Yes

No

7. The jQuery html() method works for both HTML and XML documents

False

True

8. What is the correct jQuery code to set the background color of all p elements to red?

$(“p”).style(“background-color”,”red”);

$(“p”).layout(“background-color”,”red”);

$(“p”).css(“background-color”,”red”);

$(“p”).manipulate(“background-color”,”red”);

9.With jQuery, look at the following selector: $(“div.intro”). What does it select?

All div elements with class=”intro”

The first div element with id=”intro”

The first div element with class=”intro”

All div elements with id=”intro”

10. Which jQuery method is used to hide selected elements?

hidden()

hide()

display(none)

visible(false)

Similar questions