T
the4thmooncat
I have been trying to modify an old function for a program I am using,
but I keep getting hung up on this:
if (radio[0].checked)
{
whatIs = true;
alert("attempting to return a true value");
}
The problem I get, using the debugger w/ firefox, is
Error ``TypeError: radio[0] has no properties''
What does this mean?
radio is this:
thaform.elements["a"];
where the form is 'thaform' and the radio buttons are named a.
but I keep getting hung up on this:
if (radio[0].checked)
{
whatIs = true;
alert("attempting to return a true value");
}
The problem I get, using the debugger w/ firefox, is
Error ``TypeError: radio[0] has no properties''
What does this mean?
radio is this:
thaform.elements["a"];
where the form is 'thaform' and the radio buttons are named a.