SyntaxFix
Write A Post
Hire A Developer
Questions
append is a jQuery method to append some content or HTML to an element.
append
$('#example').append('Some text or HTML');
appendChild is a pure DOM method for adding a child element.
appendChild
document.getElementById('example').appendChild(newElement);