jQuery Multiple Choice Questions and Answers pdf

1.  Which of the following is correct?
2.  jQuery uses CSS selectors and XPath expressions to select elements?
3.  Which sign does jQuery use as a shortcut for jQuery?
4.  Is jQuery a W3C standard?
5.  $(“span”). What does it select?
6.  Is jQuery a library for client scripting or server scripting?
7.  Is it possible to use jQuery together with AJAX?
8.  The jQuery html() method works for both HTML and XML documents
9.  jQuery code to set the background color of all span elements to blue?
10. $(“span.intro”). What does it select?
11. jQuery method to hide selected elements?
12. jQuery method to set one or more style properties for selected elements?
13. jQuery method is used to perform an asynchronous HTTP request?
14. What scripting language is jQuery written in?
15. $(“div#id1 .cl1″). What does it select?
16. Do you wonder why we do not have type=”text/javascript” inside the <script> tag?
17. Which of the following is correct?
18. jQuery uses CSS selectors and XPath expressions to select elements?
19. With jQuery, look at the following selector: $(“div”). What does it select?
20. Is jQuery a library for client scripting or server scripting?
21. Is it possible to use jQuery together with AJAX?
22. The jQuery html() method works for both HTML and XML documents
23. Which statement is true?
24. Which jQuery function is used to prevent code from running, before the document is finished loading?
25. Which jQuery method should be used to deal with name conflicts?
26. Which jQuery method is used to switch between adding/removing one or more classes (for CSS) from selected elements?
27. Is jQuery a W3C standard?
28. Which sign does jQuery use as a shortcut for jQuery?
29. jQuery code to set the background color of all span elements to blue?
30. $("span.intro"). What does it select?

0 comments: