JQuery
Test
Model Test
Ebook
Quiz 1: JQuey Basic
Quiz 2: JQuery Model Test 2
Quiz 3: Quiz on JQuery function
Quiz 4: Quize - jQuery event type
Index
JQuery Home
Basic
5
Selector
17
Function
1
Traversing
6
CSS
7
Manipulation
10
Event
10
Ajax
8
Effect
10
Schools
Ebook
Question:
Which of the following selector selects all elements matched by <a> that have an href value containing domain.com?
A
a[@href*=domain.com]
B
a[@href=domain.com]
C
a[@href:domain.com]
D
a[@href=*domain.com]
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following selector selects all checked boxes in the form?
A
$("checked")
B
$(":checked")
C
$("input[checked]")
D
$("input[checked=checked]")
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following selector is used to select only form elements?
A
$(":input")
B
$("input[type=*]")
C
$(":input[type*=]")
D
$(":input[type]")
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following selector is used to select all elements that have no children?
A
$(":empty*")
B
$(":empty")
C
$("empty")
D
$(":empty?")
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following syntax is correct for fetching the value of an attribute from an element?
A
var x=$(selector).attribute(attribute);
B
var x=$(selector).getAttr(attribute);
C
var x=$(selector).attr(attribute);
D
var x=$(selector).attrib(attribute);
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following syntax is correct for setting attribute value to an element?
A
$(selector).attr(element,value);
B
$(selector).attr(attribute,value);
C
$(selector).attribute(element,value);
D
$(selector).attr(value);
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following JQuery function is used to search for descendent elements that match the specified selectors.
A
find(selector)
B
next(selector)
C
search(selector)
D
closest(selector)
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following JQuery function is used to select nearest parent element that matches the specified selector?
A
parent(selector)
B
closest(selector)
C
next(selector)
D
find(selector)
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following JQuery function is used to set the plain text contents of all matched elements?
A
$(selector).add(val)
B
$(selector).text(val)
C
$(selector).html(val)
D
$(selector).wrap(val)
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following JQuery function is used to get the top and left position of an element relative to its offset parent?
A
position()
B
offset()
C
pos()
D
getPosition()
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
3
4
Next
Last
/8
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2025. Powered by
Intellect Software Ltd