jQuery Quiz | Set-2
Question 1 |
Element will hide and show | |
Element will Fade In and Out | |
Element will up and down | |
Element will Animate and Hide |
Discuss it
Question 2 |
getIs( selector ) | |
findls( selector ) | |
is( selector ) | |
None of the above |
Discuss it
Question 3 |
check() Method | |
find() Method | |
obj() Method | |
extend() Method |
Discuss it
Question 4 |
Which method is select all enable forms in jQuery?
:enabled selector | |
:file selector | |
:reset selector | |
:button selector |
Discuss it
The :enabled selector is used to selecting all enabled form elements. It is used for selecting HTML elements that support the disabled attribute. That button tag, input tag, opt group tag, option tag, select tag, and text-area tag.
Question 5 |
Which jQuery method is used to make the Ajax call?
ready(url, [data], [callback] ) | |
load( url, [data], [callback] ) | |
reload(url, [data], [callback] ) | |
None of the above. |
Discuss it
The jQuery load() method is simple but very powerful AJAX method. The Load() method in jQuery helps to load data from the server and returned it into a selected element without loading the whole page. Syntax is $(selector).load(URL, data, callback); It takes 3 parameter URL, data and callback.
Question 6 |
hasClass() | |
toggleClass() | |
find() | |
addClass() |
Discuss it
Question 7 |
The Query.noConflict(true) in jQuery is used as
free up the $ symbol by other libraries | |
Improve compatibility | |
Remove all jQuery variables | |
All of the above |
Discuss it
Query.noConflict(true) is a method in jQuery that is used to release the hold. It is used) Free up the $ symbol for use by other libraries, Improve compatibility and Remove all jQuery variables.
Question 8 |
isDefaultPrevented( ) Method | |
isPropagationStopped( ) Method | |
isImmediatePropagationStopped( ) Method | |
None of the above. |
Discuss it
Question 9 |
:target() | |
:selects() | |
:choose | |
None of the them |
Discuss it
Question 10 |
In jquery CSS(‘width’) is the way to change the width of?
Selector | |
Element | |
Fade effect | |
Radio button |
Discuss it
CSS(‘width’) methods for changing the element in Jquery one is CSS(‘width’) and another one is .width().