Web Development jQuery Objective
Aug 07, 2013

$(“div#id1 .cl1″). What does it select?

Choose the correct answer:
A) The first element with id=”cl1″ inside any div element with class=”id1″
B) All elements with class=”cl1″ inside the first div element with id=”id1″
C) All div elements with id=”id1″ or class=”cl1″
D) All the above
Detailed Explanation

Option B is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback