Answers for "how to clear out the contents in a div in javacsiprt"

8

javascript clear div

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

//using JQuery
$('#elementID').html('');
Posted by: Guest on June-11-2020

Code answers related to "how to clear out the contents in a div in javacsiprt"

Code answers related to "Javascript"

Browse Popular Code Answers by Language