I
couldn't find the original message (don't know if you quote it in entirety), but
wouldn't you want to make that:
yourForm.yourRadioButtonName.checked = ! yourForm.yourRadioButtonName.checked;
put
together with an onClick.
It's
also not obvious why you would want to do this. A radio should be used
with other radios and should be turned off by clicking another radio. If a
single thing, then it should be a check
box.
--------Original Message-----
From: Greg Nudelman [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 1:48 PM
To: jdjlist
Subject: [jdjlist] RE: how to toggle radio buttonHere you go, Satya, but please search on Google next time --yourForm.yourRadioButtonName.checked = true;I suggest you use JS/JSP to give each radio a different name. Then a radio behaves exactly like a checkbox.Greg
If i have a single radio button on form , how can i
make it to switch on and off when i click it..---Is it possible using _javascript_.
Appreciate your help
Satya
=====
satya narayana panduga__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com---
---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk
