A simple question about get the 'type' vaule of checkbox object.
...
<SCRIPT LANGUAGE="JavaScript">
function delItem()
{
if(document.getElementById(checkboxName).checked == true)
{
document.getElementById(checkboxName).type="hidden";
return true;
}
}
.....
A error appers, remand me that "could not get the type property.This command is not supported". I don't know why.
What I want is delete the check box object from the page when click it. Are there some methods can delete it directly? Thanks in advance!
Lily
...
<SCRIPT LANGUAGE="JavaScript">
function delItem()
{
if(document.getElementById(checkboxName).checked == true)
{
document.getElementById(checkboxName).type="hidden";
return true;
}
}
.....
A error appers, remand me that "could not get the type property.This command is not supported". I don't know why.
What I want is delete the check box object from the page when click it. Are there some methods can delete it directly? Thanks in advance!
Lily