Loading, please wait...

jQuery MCQ Quiz (Multiple Choice Questions And Answers)

Search here for MCQs

Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:

List of Programming Full Forms 

6. $.foo() is equivalent to

  • javascript.foo()
  • document.foo()
  • jQuery.foo()
  • None of the above

7. Which built-in method returns the character at the specified index?

  • characterAt()
  • getCharAt()
  • charAt()
  • None of the above

8. Using ________ function, we can hold or release the execution of jQuery’s ready event.

  • jQuery.holdReady()
  •  jQuery.ready()
  •  jQuery.ready()
  • jQuery.holdready()

9. The ………. method is like offset(), except that it is a getter only and it returns element positions relative to their offset parent, rather to the document as a whole.

  • width()
  • position()
  • offsetparent()
  • setparent()

10.  jQuery code to set the background color of all span elements to blue?

  • $(“span”).style(“background-color”,”blue”);
  • $(“span”).manipulate(“background-color”,”blue”);
  • $(“span”).css(“background-color”,”blue”);
  • $(“span”).layout(“background-color”,”blue”);