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

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top