Open In App
Related Articles

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

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report
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

Last Updated : 21 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads