F
frank.cleuren
Hello,
The following code:
function checkChildMenuItems(strNameModule)
{
alert(document.getElementById(strNameModule).checked);
}
<input name="strMenuQA" id="strMenuQA" type="checkbox" value="1"
onclick="checkChildMenuItems(this.id);" checked="checked">
shows "true" or "false" in Firefox, when I respectively check or
uncheck the checkbox. IE however comes up with "undefined". Is this
code so exotic, that IE has problems with it??
Thanks in advance!
Frank
The following code:
function checkChildMenuItems(strNameModule)
{
alert(document.getElementById(strNameModule).checked);
}
<input name="strMenuQA" id="strMenuQA" type="checkbox" value="1"
onclick="checkChildMenuItems(this.id);" checked="checked">
shows "true" or "false" in Firefox, when I respectively check or
uncheck the checkbox. IE however comes up with "undefined". Is this
code so exotic, that IE has problems with it??
Thanks in advance!
Frank