| Adrian Snyman on Wed, 26 Feb 2003 16:09:32 +0200 (SAST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| [Linux dev] Re: More Javascript |
On Wednesday 26 February 2003 15:51, Herman Cremer wrote: > emmm..... > > I think I know what you want, > but I also think I have no idea what you mean..... > > could you be a bit more specific ? > > Herman Basically, I have six items in the group .. <input type="radio" name="test" value="1"> <input type="radio" name="test" value="2"> <input type="radio" name="test" value="3"> <input type="radio" name="test" value="4"> <input type="radio" name="test" value="5"> <input type="radio" name="test" value="6"> Now with JS I want to check if ANY of these are selected .. without going (if document.form.test[0].selected || ......... document.form.test[5].selected) could I address something like document.form.test[].selected ?? dunno . -- Regards, Adrian Snyman Tel: +27 11 397 1640 Cell +27 82 600 1211 /* Beat me, Whip me, Make me use Windows !! */ ================== The views expressed in this email are, unless otherwise stated, those of the author and not those of Supply Chain Services or its management. The information in this e-mail is confidential and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted in reliance on this, is prohibited and may be unlawful. Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data transmitted electronically and to preserve the confidentiality thereof, no liability or responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted or does not reach its intended destination.