Home »
MCQs »
jQuery MCQs
Which jQuery DOM method is used to insert content at the beginning of the selected elements?
65. Which jQuery DOM method is used to insert content at the beginning of the selected elements?
- insert()
- before()
- append()
- prepend()
Answer: D) prepend()
Explanation:
The jQuery DOM method prepend() is used to insert content at the beginning of the selected elements.