Open In App

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

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

Article Tags :