js remove text from div code example
Example: javascript clear div
//using javascript
document.getElementById(elementID).innerHTML = "";
//using JQuery
$('#elementID').html('');
//using javascript
document.getElementById(elementID).innerHTML = "";
//using JQuery
$('#elementID').html('');