Skip to content
StudyFame
PreviousNext

JQuery MCQ(multiple choice question) with answer

In this jquery MCQ section, we will focus on the basic question which was asked in an interview, school or college exam, or during campus interviews.

  1. 1. jQuery is a

  2. 2. which jquery method is used to hide selected elements?

  3. 3. jQuery uses ________ syntax to select elements

  4. 4. Which sign does jquery use as a shortcut for jquery?

  5. 5. Which jquery method is used to remove selected elements?

  6. 6. what is the correct jquery code to set the background color of all p elements to red?

  7. 7. which jquery method returns the direct parent element of the selected element?

  8. 8. with jquery, look at the following selector: $("div.intro"). what does it select?

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

  10. 10. which jquery method is used to set one or more style properties for selected elements?

  11. 11. which jquery method should be used to deal with name conflicts?

  12. 12. when was jquery first released?

  13. 13. Which jQuery method is used to attach multiple event handlers to an element?

  14. 14. Which of the jQuery function prevents the code from running before the loading of the document finishes?

  15. 15. What does the syntax $("p") will select?

  16. 16. Which of the following is a single global function defined in the jQuery library?

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

  18. 18. Which code will hide the current element?

  19. 19. jQuery is a ___________.

  20. 20. $(this) in jQuery is used when