[Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1?
Hassan Schroeder
hassan at webtuitive.com
Mon Oct 29 09:26:43 CST 2001
gregory.john.toland at census.gov wrote:
>
> Sorry. That was just a typo. The form is really called frmProfiles. When
> I sent out the email I changed the name of the form to myForm.
>
> OK. I got it to work. But why??????? Why would appending the characters
> [ and ] cause the statement to work.
Because "txtStep1" is the name of an array, and NS6 is just more
strict about it being properly identified as one ...
> > > <form enctype="text/plain" id="myForm" method="get"
> > > name="myForm" onSubmit="return true;">
> > > <input checked id="txtStep1" name="txtStep1"
> > > tabindex="1"
> > > title="Tabular Profile" type="radio"
> > > value="Tabular">Tabular</input>
> > > <input id="txtStep1" name="txtStep1"
> > > title="Narrative Profile" type="radio"
> > > value="Narrative">Narrative</input>
> > > </form>
HTH!
--
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
-- creating dynamic Web sites and applications since 1994 --
More information about the Javascript
mailing list