I have the following radio button defined:

<input
  type="radio" value="Single" checked name="R1">Single
  <input type="radio" name="R1" value="Married">Married

But when I try to check the value using

alert(document.frm1.R1.value);

it shows "undefined".

Am I defining the radio buttons right?

TIA

Amrit Hallan
======================================================
Web Site Development - http://www.bytesworth.com
Low-cost Linux Web Hosting:
http://www.bytesworth.com/webhosting
======================================================



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date:
5/19/2003


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to