how to empty html element in javascript code example
Example: how to empty an element in javascript
function clearBox(elementID)
{
document.getElementById(elementID).innerHTML = "";
}
//seems like there is no built in funciton's but in jquery
$(element).empty();