- jQuery - Home
- jQuery - Roadmap
- jQuery - Overview
- jQuery - Basics
- jQuery - Syntax
- jQuery - Selectors
- jQuery - Events
- jQuery - Attributes
- jQuery - AJAX
- jQuery CSS Manipulation
- jQuery - CSS Classes
- jQuery - Dimensions
- jQuery - CSS Properties
- jQuery Traversing
- jQuery - Traversing
- jQuery - Traversing Ancestors
- jQuery - Traversing Descendants
- jQuery References
- jQuery - Selectors
- jQuery - Events
- jQuery - Effects
- jQuery - HTML/CSS
- jQuery - Traversing
- jQuery - Miscellaneous
- jQuery - Properties
- jQuery - Utilities
- jQuery Plugins
- jQuery - Plugins
- jQuery - PagePiling.js
- jQuery - Flickerplate.js
- jQuery - Multiscroll.js
- jQuery - Slidebar.js
- jQuery - Rowgrid.js
- jQuery - Alertify.js
- jQuery - Progressbar.js
- jQuery - Slideshow.js
- jQuery - Drawsvg.js
- jQuery - Tagsort.js
- jQuery - LogosDistort.js
- jQuery - Filer.js
- jQuery - Whatsnearby.js
- jQuery - Checkout.js
- jQuery - Blockrain.js
- jQuery - Producttour.js
- jQuery - Megadropdown.js
- jQuery - Weather.js
jQuery - Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to jQuery Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Answer : A
Explaination
Yes! An anonymous function can be assigned to a variable.
Q 2 - Which built-in method combines the text of two strings and returns a new string?
Answer : B
Explaination
concat() method returns the character at the specified index.
Q 3 - Which of the following is correct about jQuery selector?
B - jQuery selectors are used to select one or more HTML elements using jQuery.
C - jQuery selectors start with the dollar sign and parentheses - $()
Answer : D
Explaination
All of the above options are correct.
Q 4 - Which of the following jQuery method removes an attribute from each of the matched elements?
Answer : B
Explaination
The removeAttr( name ) method can be used to remove an attribute from each of the matched elements.
Q 5 - Which of the following jQuery method checks the current selection against an expression?
Answer : B
Explaination
The is( selector ) method checks the current selection against an expression and returns true, if at least one element of the selection fits the given selector.
Q 6 - Which of the following jQuery method finds all the child nodes inside the matched elements (including text nodes), or the content document, if the element is an iframe?
Answer : C
Explaination
The contents( ) method finds all the child nodes inside the matched elements (including text nodes), or the content document, if the element is an iframe.
Q 7 - Which of the following jQuery method sets the style property of an element?
Answer : C
Explaination
The css( name, value ) method sets a style property on the first matched element.
Q 8 - Which of the following jQuery method gets the current offset of the first matched element, in pixels, relative to the document?
Answer : A
Explaination
The offset( ) method gets the current offset of the first matched element, in pixels, relative to the document.
Q 9 - Which of the following jQuery method checks if event.stopImmediatePropagation() was ever called on this event object?
Answer : C
Explaination
The isImmediatePropagationStopped() method of Event object returns whether event.stopImmediatePropagation() was ever called on this event object.
Q 10 - Which of the following jQuery method loads and executes a JavaScript file using an HTTP GET request?
A - jQuery.get( url, [data], [callback], [type] )
B - jQuery.getJSON( url, [data], [callback] )
Answer : C
Explaination
The jQuery.getScript( url, [callback] ) method loads and executes a JavaScript file using an HTTP GET request.