javascript clear div
//using javascript
document.getElementById(elementID).innerHTML = "";
//using JQuery
$('#elementID').html('');
javascript clear div
//using javascript
document.getElementById(elementID).innerHTML = "";
//using JQuery
$('#elementID').html('');
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();
clear a div
$("#yourDiv").html(""); // jQuery
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us