jQuery Add Elements
append, prepend, after, before.
jQuery Add Elements
With jQuery, it is easy to add new elements/content.
Four Methods to Add New Content:
append()- Inserts content at the END of the selected elementsprepend()- Inserts content at the BEGINNING of the selected elementsafter()- Inserts content AFTER the selected elementsbefore()- Inserts content BEFORE the selected elements