469,949 Members | 2,430 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,949 developers. It's quick & easy.

Radio button event

I have to make 2 from 6 radio buttons change the rest of a form and the
remaining 4 to do the opposite change. I find that onchange differs
between IE & Mozilla, but onclick appears at first sight to occur at the
same time. Are there any gotcha's with radio buttons vs browsers?
--
Robin Becker
Jul 23 '05 #1
1 3281
In article <40**************@jessikat.fsnet.co.uk>,
ro***@SPAMREMOVEjessikat.fsnet.co.uk enlightened us with...
I have to make 2 from 6 radio buttons change the rest of a form and the
remaining 4 to do the opposite change. I find that onchange differs
between IE & Mozilla, but onclick appears at first sight to occur at the
same time. Are there any gotcha's with radio buttons vs browsers?


IME, onClick is cool with radio buttons, but be careful - if you're
doing anything with the selected property of said radio buttons, IIRC,
some browsers fire the event first and then mark the selected property
to true while others make the selected property true then fire the
onClick. I don't remember exactly, so check that out.

--
--
~kaeli~
Is it true that cannibals don't eat clowns because they
taste funny?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by JR | last post: by
3 posts views Thread by John Davis | last post: by
1 post views Thread by Jerry | last post: by
3 posts views Thread by Harry Haller | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.