function deleteall(parentid) {objparent=document.getElementById(parentid)for(i=0;obj=objparent.getElementsByTagName('input')[i];i++){ obj.value = '';}}