Skip to content
Related Articles

Related Articles

Web technologies Questions | jQuery Quiz | Set-1 | Question 11

View Discussion
Improve Article
Save Article
  • Last Updated : 21 Sep, 2021

Which of the below code snippet is ask for the set the div element in the jQuery?
(A) var find= $(div);
(B) var find= #(“div”);
(C) var find= jQuery(“div”);
(D) var find = $(“div”);


Answer: (D)

Explanation: In jQuery, the dollar sign is used to select the element. The syntax var find = $(“div”); is to set the div element in the jQuery.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!