Which jQuery DOM method is used to set or return the content of selected elements (including HTML markup)?

59. Which jQuery DOM method is used to set or return the content of selected elements (including HTML markup)?

  1. content()
  2. text()
  3. html()
  4. val()

Answer: C) html()

Explanation:

The jQuery DOM method html() is used to set or return the content of selected elements (including HTML markup).

Comments and Discussions!

Load comments ↻






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