Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • From: javascript@xxxxxxxxxx (javascript@xxxxxxxxxx)
  • Subject: [Javascript] Radio Button Value Property Does Not Exist in Netscape 6.1?
  • Date: Mon, 29 Oct 2001 09:06:05 -0500

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

>From Hassan Schroeder...



gregory.john.toland@xxxxxxxxxx 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@xxxxxxxxxxxxxx
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

    -- creating dynamic Web sites and applications since 1994 --