MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Jquery
Quiz 3
1
2
3
4
5
6
7
8
9
Q.1
When would the following code be run$(function() {});
When the user requests the page
When the user pushes a button
After all the elements are loaded
Never
Q.2
The following is correct syntax for CSSp { color: red; }
True
False
Q.3
Which of these CSS selectors would select all of the <img> tags in a <div>
img div
img.div
div img
div.img
Q.4
Given the following, what would $('.foo').data('info') return?<div id='foo' data-info='google' data-test='bar'></div>
google
bar
div
undefined
Q.5
Which of the following ways is the correct Syntax of parent() method in JQuery ?
$("span").child();
$("span").parent();
$("span").parentofchild();
All of above
Q.6
JQuery parents() Method returns all ancestor elements of the ____________.?
class
selected elements
None of the above
Q.7
The siblings() method returns all sibling elements of the selected element. _________?
selected elements
Siblings class
None of the above
Q.8
Which of the following is the correct syntax of nextUntil() method in JQuery?
$("h2").nextUntiLAll("h6");
$("h2").nextUn("h6");
$("h2").nextUntil("h6");
Q.9
Which of the following is the correct syntax of toggle() effects in JQuery?
$("button").click(function(){ $("p").toggle(); });
.("p").toggle();
None of the above
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page