×

Multiple-Choice Questions

Which is the correct jQuery statement to hide all elements having id name 'new'?

11. Which is the correct jQuery statement to hide all elements having id name "new"?

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

Answer: D) $("#new").hide()

Explanation:

The $("#new").hide() statement can be used to hide all elements having id name "new".

Comments and Discussions!

Load comments ↻






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