mcqs bucket

  • Jquery Mcqs Questions | MCQs Bucket

    mcqsbucket

      Best guide for exams of all nature, Competitive exams and Interviews
Here is the MCQs guide for the topic of Jquery. you will find various types of questions along with there answers in this
Q. Which of the following jQuery method set the value of an element?
A.
setContent( val )
B.
val( val )
C.
setValue( val )


Show Answer
Q. Which built-in method returns the length of the string?
A.
length()
B.
size()
C.
index()


Show Answer
Q. Which of the following jQuery method stops the rest of the event handlers from being executed?
A.
preventDefault( )
B.
stopImmediatePropagation( )
C.
stopPropagation( )


Show Answer
Q. Which of the following jQuery method removes set of matched elements?
A.
empty( )
B.
delete( )
C.
remove( expr )


Show Answer
Q. Which of the following jQuery method gets attributes of an element?
A.
attr()
B.
getAttr()
C.
getAttributes()
D.
None of the above.


Show Answer
Q. Which of the following jQuery method can be used to attach a function to be executed whenever AJAX request completed successfully?
A.
ajaxStart( callback )
B.
ajaxSuccess( callback )
C.
ajaxSend( callback )
D.
ajaxStop(callback)


Show Answer
Q. Which of the following is a single global function defined in the jQuery library?
A.
jQuery
B.
$
C.
Queryanalysis
D.
None


Show Answer
Q. Which of the following is correct?
A.
jQuery is a JSON Library
B.
jQuery is a JavaScript Library


Show Answer
Q. Which of the following jQuery method returns the outer width (including the border) of an element?
A.
getCSSWidth( )
B.
getWidth( )
C.
outerWidth( [margin] )
D.
None


Show Answer
Q. Which of the following jQuery method sets the height property of an element?
A.
setCSSHeight( value )
B.
setHeight( value)
C.
height( value )
D.
None


Show Answer