remove all child elements using jquery specific elements code example
Example 1: javascript clear div
//using javascript
document.getElementById(elementID).innerHTML = "";
//using JQuery
$('#elementID').html('');
Example 2: how To clear all the input element inside div using jquery
By LOVE
$('#divStaffContent').find('input:text, input:password, select')
.each(function () {
$(this).val('');
});
}