Radio Button List ---> onclick event. You can never know when the user clicked?

L

Leeor Geva

did any of you guys notice when adding an onclick javascript to a Radio
Button List, it will get fired BEFORE the Dot is set if you click on the
Text for that particular Circle.

My onlick calls this function:

if (document.Form1.UserInfo_optStatus_2.checked)
{
....
}

I don't see much of a way around this?? This isn't good... any help
appreciated!

I think this is what happens in the Radio Button List:

IF CLICK ON TEXT LABEL
FIRE ONCLICK EVENT
TELL CIRCLE TO GET FILLED

IF CLICK ON CIRCLE (get filled)
FIRE ONCLICK EVENT


in short, the event can fire and you will not know what the user clicked on.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top