Document Object Model And Event Handling - Study Mode
[#91] Which is the method that operates on the return value of $()?
Correct Answer
(B) css()
Explanation
Solution: The css() method operates on the jQuery object returned by $(), and returns that same object, so that the show() method can be invoked next in a compact “method chain.”
[#92] Consider the following code snippet script src ="jquery-1.4.2.min.js"> < /script > What does the min mean?
Correct Answer
(A) Minimised version
Explanation
Solution: The min means the minimised version of the library, with unnecessary comments and whitespace removed, and internal identifiers replaced with shorter ones.
[#93] Which of the following is a heavily overloaded function?
Correct Answer
(D) Both jQuery() and $()
Explanation
Solution: The jQuery() function (a.k.a) $()) is the most important one in the jQuery library. It is heavily overloaded, however, and there are four different ways you can invoke it.
[#94] Which of the following is an equivalent replacement of $(document).ready(f)?
Correct Answer
(B) $(f)
Explanation
Solution: The equivalent replacement of $(document).ready(f) is $(f).
[#95] Which of the following is a utility function in jQuery?
Correct Answer
(C) jQuery.noConflict()
Explanation
Solution: jQuery.noConflict() is the utility function in jQuery.