Home > MCQs > IT & Programming > JQuery MCQs

JQuery MCQ

JQuery Quick Quiz

Question 1 of 10
  • Which of the following is NOT a custom jQuery form selector?

    Answer & Explanation

    Correct Answer: :form

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following will get the first column of all tables using jQuery?

    Answer & Explanation

    Correct Answer: $('table.tblItemTemplate td:first-child');

    Note: This Question is unanswered, help us to find answer for this one

  • Though jQuery offers visual effects, it is considered a best practice to use CSS to set up different states triggered by classes, where it makes sense. What's the easiest way to enable and disable a class bounce on an element with the ID dialog?

    Answer & Explanation

    Correct Answer: $('#dialog').toggleClass('bounce')

    Note: This Question is unanswered, help us to find answer for this one

  • What is a particular performance concern when dealing with event handlers, and how can you cope with it?

    Answer & Explanation

    Correct Answer: Some events, such as mousemove and scroll, happen a lot on a typical page. Debounce or throttle their handlers to make sure the handlers are not called more than you actually need.

    Note: This Question is unanswered, help us to find answer for this one

  • Which protocol should you use when referencing a CDN script in a web page?

    Answer & Explanation

    Correct Answer: Let the browser figure out the protocol by using //

    Note: This Question is unanswered, help us to find answer for this one

  • True or False: .position() accepts an optional argument as a selector

    Answer & Explanation

    Correct Answer: false

    Note: This Question is unanswered, help us to find answer for this one

  • Which will get the CURRENT COORDINATES of the first element in the set of matched elements, RELATIVE TO THE DOCUMENT?

    Answer & Explanation

    Correct Answer: offset()

    Note: This Question is unanswered, help us to find answer for this one

  • What index value does the :nth-child() selector starts with?

    Answer & Explanation

    Correct Answer: 1

    Note: This Question is unanswered, help us to find answer for this one

  • Which of the following selectors is NOT equivalent to the others?

    Answer & Explanation

    Correct Answer: :first

    Note: This Question is unanswered, help us to find answer for this one

  • How do you execute code 2 seconds after the page was loaded.

    Answer & Explanation

    Correct Answer: window.setTimeout(function(){ // some code }, 2000);

    Note: This Question is unanswered, help us to find answer for this one

  • JQuery Quick Quiz

    battery

    Poor Results!

    You need a lot of improvement.

    Just don't give up!

    Correct Answers: 0/10

    Start Practicing with our MCQs given below.