SyntaxFix
Write A Post
Hire A Developer
Questions
In jQuery it would be as simple as $('#yourDivID').empty()
$('#yourDivID').empty()
See the documentation.