Get the value of a style property for the first element in the set of matched elements.
1..style()
2..css()
3.Both a and b
4.none of the above
In which year jQuery developed?
1. 2001
2.2004
3.2005
4. 2006
Is jQuery a library for client scripting or server scripting?
1.Server scripting
2. Client scripting
3.Both of these
4.none of the above
jQuery code to set the background color of all span elements to blue?
1.$(span"Â).style(background-color"Â,"Âblue"Â);
2. $(span"Â).manipulate(background-color"Â,"Âblue"Â);
3.$(span"Â).css(background-color"Â,"Âblue"Â);
4.$(span"Â).layout(background-color"Â,"Âblue"Â);
Select all elements that contain the specified text.
1.:contains()
2. :selects()
3.Both
4.none of the above
The ______ method is used to make an asynchronous HTTP request?
1. jQuery.ajaxAsync()
2. jQuery.ajax()
3. jQuery.async()
4.none of the above
The______ method is used to represent an array or an object in serialize manner.
1.size()
2. length
3.param()
4.None of these
Using ____ function, we can hold or release the execution of jQuery's ready event.
1. jQuery.holdReady()
2.jQuery.ready()
3. jQuery.hold()
4.jQuery.holdready()
Which jQuery method is used to switch between adding/removing one or more classes (for CSS) from selected elements?
1.toggleClass()
2.switch()
3.altClass()
4.switchClass()
$("div#frame1 .bd1") What does it select?
1. The first element with id = “bd1†in any div element with class = “frame1
2.The first element with class = “bd1†in the first element div with id = “frame1â€
3.All elements with class = “bd1†in the first element div with id = “frame1â€
4.none of the above
$("span.foo"). What does it select?
1.All span elements with id = “fooâ€
2. all span elements with class = “fooâ€
3. The first span element with id = “fooâ€
4. The first span element with class = “fooâ€
$.foo() is equivalent to
1.javascript.foo()
2.document.foo()
3. jQuery.foo()
4.none of the above
----- takes a selector as its argument and returns true if at least one of the selected elements also matches the specified selector.
1. is()
2.index()
3.each()
4.map()
By default JavaScript displays the numbers as ______
1. base 16
2. base 10
3. base 6
4.base 2
JQuery code to set the background color of all “<span>†in blue?
1.$("span").style("background-color", "blue");
2.$("span").css("background-color", "blue");
3.jQuery("span").style("background-color", "blue");
4.none of the above
jQuery method is used to perform an asynchronous HTTP request?
1. jQuery.ajaxAsync()
2.jQuery.ajaxSetup()
3.jQuery.ajax()
4.none of the above
Look at the following jQuery selector: $("div#intro .headÂ). What does it select?
1.The first element with id="Âhead"Â inside any div element with class="Âintro"Â
2.All elements with class="Âhead"Â inside the first div element with id="Âintro"
3.All div elements with id="Âintro"Â or class="Âhead"Â
4. None
Math.random() returns _______
1.random number between 0 and 1
2.random number between 1 and 10
3. random number between 1 and 100
4. random number between 0 and 10
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.
1. width()
2. position()
3.offsetparent()
4.setparent()
To deal with cookies in jQuery we have to use ______ cookie plugin
1. Dough
2.Session
3.Dazzler
4. None of these
Typeof “infinity†will return ______
1.string
2.number
3.object
4. undefined
What are jQuery’s features?
1. Useful collection of methods for manipulating selected items
2.Efficient query method to find all document elements
3.Syntax for referencing document elements
4.All the answers are true
What are the methods used to provide effects?
1.Show()
2. Hide()
3. Toggle()
4.All of these
What does the min mean?
1. Minimised version
2.Miniature
3.Minimised parameters
4.Minimum value
What is the Boolean value of Ҡin JavaScript?
1.true
2.on
3. off
4. false
What is the correct jQuery code for making all div elements 100 pixels high?
1.$(div"Â).height="Â100
2.$(div"Â).height(100)
3.$(div"Â).yPos(100)
4.none of the above
Which built-in method returns the character at the specified index?
1.characterAt()
2.getCharAt()
3.charAt()
4.none of the above
Which jQuery method is used to hide selected elements?
1.hidden()
2.hide()
3.visible(false)
4.display(none)
Which jQuery method to set one or more style properties for selected elements?
1.css()
2. html()
3.Acceptance platform
4.asStub()
Which of the following is an overloaded function?
1. jQuery()
2.$()
3.script()
4. jQuery() and $()
Which of the following is/are the sources of Content Distribution Network(CDN) for jQuery.
1. jQuery CDN
2.Microsoft CDN
3.Google CDN
4.All of the above
Which of the following jQuery method checks the current selection against an expression?
1.getIs( selector )
2. is( selector )
3. checkIs( selector )
4.none of the above
Which of the following replaces $(document).ready(f)?
1. jQuery(f)
2. $(f)
3.#(f)
4.none of the above
Which sign does jQuery use as a shortcut for jQuery?
1. $ sign
2. % sign
3.? Sign
4.none of the above
With jQuery, look at the following selector: $("div.introÂ). What does it select?
1.The first div element with class="Âintro"Â
2.The first div element with id="Âintro"Â
3.All div elements with class="Âintro"Â
4.All div elements with id="Âintro"Â