Radio button event

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robin Becker

    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
  • kaeli

    #2
    Re: Radio button event

    In article <40877A27.80509 01@jessikat.fsn et.co.uk>,
    robin@SPAMREMOV Ejessikat.fsnet .co.uk enlightened us with...[color=blue]
    > 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?
    >[/color]

    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?



    Comment

    Working...