empty html element js 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();