Time remaining
:
:
Test Status
JSJQUERYTEST9
Ques 1 :
Which JQuery method is used to set one or more style properties for selected elements?
(A) css()
(B) html()
(C) style()
Ques 2 :
Which of the following can't be done with client-side JavaScript?
(A) Validating a form
(B) Sending a form's contents by email
(C) Storing the form's contents to a database file on the server
(D) None of the above
Ques 3 :
Which JQuery function is used to prevent code from running, before the document is finished loading?
(A) $(document).load()
(B) $(document).ready()
(C) $(body).onload()
Ques 4 :
Which jQuery method is used to switch between adding/removing one or more classes (for CSS) from selected elements?
(A) toggleClass()
(B) switch()
(C) altClass()
(D) switchClass()
Ques 5 :
Which statement best explains what "unobtrusive JavaScript" is?
(A) JavaScript that doesn't annoy users
(B) JavaScript that is separate from HTML
(C) JavaScript that does not affect a web page
(D) JavaScript that works even with scripting turned off
Ques 6 :
You can test whether the browser supports specific features using...
(A) $.support
(B) $.browser
(C) $.featureTest
(D) $.browserTest
Ques 7 :
JQuery.noConflict(true) is used to..
(A) Free up the $ symbol for use by other libraries
(B) Improve compatibility
(C) Remove all jQuery variables from the global scope
(D) All of the above
Ques 8 :
$('p').click(function(){
// Code here
});
Inside the commented section, the value of the variable this is a..
(A) Array
(B) String
(C) Reference to the DOM node
(D) jQuery object
Ques 9 :
The CSS selector engine that JQuery uses is called?
(A) Badaboom
(B) Mango
(C) Sizzle
(D) AwesomeX
Ques 10 :
You can attach a handler to an event using which method?
(A) eventBind
(B) bind
(C) attach
(D) eventAttach
Ques 11 :
$('#masterList').find('li').width(500).addClass('selected');
The phenomena occurring in the above code is called?
(A) Chaining
(B) Event bubbling
(C) AJAX
(D) Animating
Ques 12 :
Load remote data using HTTP GET
(A) $.get(url,data,callback,type)
(B) $.ajax(options)
(C) $.post(url,data,callback,type)
(D) $.getScript(url,callback)
Ques 13 :
Triggers, or binds a function to the error event of selected elements.
(A) click()
(B) error()
(C) event.pageX
(D) click.error()
Ques 14 :
What are the :odd and :even filters?
(A) They allow you to determine if a number is odd or even.
(B) They allow you to determine if a specific element is in an odd or even position.
(C) None of the above
Ques 15 :
When referencing an HTML element preceded by a # (pound or hash), what javascript function is this equivalent to?
(A) getElementById
(B) getElementByClassName
(C) getElementByTagName
(D) None of the above
Ques 16 :
What is the each function used for?
(A) The Each function allows you to loop though every element in a parent element.
(B) The Each function allows you to put the word "Each" into each element
(C) The Each function allows you to loop through different elements with a class or ID.
(D) None of the above.
Ques 17 :
What is the difference between Hover and Mouseover
(A) Mouseover allows you to specify an optional function to use for the mouseout event
(B) Hover allows you to specify an optional function to use for the mouseout event
(C) No Difference; Mouseover and Hover are the same
Ques 18 :
If you want to stop your jQuery for a few milliseconds, which function do you use?
(A) stop()
(B) pause()
(C) slowdown()
(D) delay()
Ques 19 :
<script language="javascript">
function x()
{
document.write(2+5+"8");
}
</script>
(A) 258
(B) Error
(C) 7
(D) 78
Ques 20 :
Which popup box you use when want some information comes from user?
(A) alert("Write some text here")
(B) confirm("Write some text here")
(C) prompt("Write here some text","Write default value here")
Submit Answer
Don't Refresh the Page !! ...