Which is the code that asks for the set of all div elements in a document?
A. var divs = $(div);
B. var divs = jQuery("div");
C. var divs = $("div");
D. var divs = #("div");
Answer: Option C
Solution (By Examveda Team)
The code to ask for the set of all div elements in a document isvar divs = $("div");

Join The Discussion