[Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1?

gregory.john.toland at census.gov gregory.john.toland at census.gov
Mon Oct 29 09:49:16 CST 2001


Thanks so much for your help!!!  I appreciate it.  One last question if you
don't mind.  Do you know if this is documented anywhere on Netscape's site?
I tried looking under "What's New" for 6.1, but did not find anything.

Greg Toland



 From Hassan Schroeder...

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!





More information about the Javascript mailing list