function DeleteData(ID) { var ctrlId=ID.id; var divcontents=document.getElementById(ctrlId).innerHTML; var tabid=ctrlId.replace(/div/,\'tab\'); var tabcontents=
If you need to set innerHTML to "" (empty string) then you can use removeChild instead