×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which is the correct jQuery selector to select all <div> elements with class name 'new'?

19. Which is the correct jQuery selector to select all <div> elements with class name "new"?

  1. $(".new")
  2. $("div.new")
  3. $(".div.new")
  4. $(".div#new")

Answer: B) $("div.new")

Explanation:

The $("div.new") selector is used to select all <div> elements with class name "new".

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.