A. setCSSHeight( value )B. setHeight( value)C. height( value )D. None
Tag: Jquery MCQs
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
Which of the following is correct?
A. jQuery is a JSON LibraryB. jQuery is a JavaScript Library
Which of the following is a single global function defined in the jQuery library?
A. jQueryB. $C. QueryanalysisD. None
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)
Which of the following jQuery method gets attributes of an element?
A. attr()B. getAttr()C. getAttributes()D. None of the above.
Which of the following jQuery method removes set of matched elements?
A. empty( )B. delete( )C. remove( expr )
Which of the following jQuery method stops the rest of the event handlers from being executed?
A. preventDefault( )B. stopImmediatePropagation( )C. stopPropagation( )D.
Which built-in method returns the length of the string?
A. length()B. size()C. index()
Which of the following jQuery method set the value of an element?
A. setContent( val )B. val( val )C. setValue( val )