JQuary - QUESTIONS : PART 3
$.foo() is equivalent to
javascript.foo()
document.foo()
jQuery.foo()
None of the above
SHOW ANSWER
Which built-in method returns the character at the specified index?
characterAt()
getCharAt()
charAt()
None of the above
SHOW ANSWER
Using ________ function, we can hold or release the execution of jQuery’s ready event
jQuery.holdReady()
jQuery.ready()
jQuery.hold()
jQuery.holdready()
SHOW ANSWER
The ………. method is like offset(), except that it is a getter only and it returns element positions relative to their offset parent, rather to the document as a whole.
width()
position()
offsetparent()
setparent()
SHOW ANSWER
jQuery code to set the background color of all span elements to blue?
$(“span”).style(“background-color”,”blue”);
$(“span”).manipulate(“background-color”,”blue”);
$(“span”).css(“background-color”,”blue”);
$(“span”).layout(“background-color”,”blue”);
$(“span”).css(“background-color”,”blue”);
SHOW ANSWER
What does the min mean?
Minimised version
Miniature
Minimised parameters
Minimum value
SHOW ANSWER
Which of the following is used for parsing JSON text?
jQuery.each()
jQuery.parseJSON()
jQuery.noConflict()
None of the mentioned
SHOW ANSWER
What is the correct jQuery code for making all div elements 100 pixels high?
$(“div”).height=”100
$(“div”).height(100)
$(“div”).yPos(100)
None
SHOW ANSWER
Which of the following jQuery method checks the current selection against an expression?
getIs( selector )
is( selector )
checkIs( selector )
None of the above
SHOW ANSWER
To deal with cookies in jQuery we have to use ______ cookie plugin
Dough
Session
Dazzler
None of these
SHOW ANSWER
Select all elements that contain the specified text.
:contains()
:selects()
Both
None
SHOW ANSWER
Is jQuery a library for client scripting or server scripting?
Server scripting
Client scripting
Both of these
None
SHOW ANSWER
The______ method is used to represent an array or an object in serialize manner.
size()
length
param()
None of these
SHOW ANSWER