[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 08:06:05 CST 2001


Huh?  Netscape doesn't like

document.forms["frmProfiles"].txtStep1[]       OR

document.frmProfiles.txtStep1[][01].value

Is that what you meant?

Gregory J Toland
Sr. Systems Architect
CHM, Inc.
(301) 457-8058
tolan002 at census.gov

 From Hassan Schroeder...



gregory.john.toland at census.gov wrote:

> <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>

change id="txtStep1" to id="txtStep1[]" and it works in NS4,6,IE5 ...

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