Home »
MCQs »
jQuery MCQs
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)?
- content()
- text()
- html()
- val()
Answer: C) html()
Explanation:
The jQuery DOM method html() is used to set or return the content of selected elements (including HTML markup).