Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript clear div

//using javascript
document.getElementById(elementID).innerHTML = "";

//using JQuery
$('#elementID').html('');
 
PREVIOUS NEXT
Tagged: #javascript #clear #div
ADD COMMENT
Topic
Name
8+8 =