Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] IE radio buttons don't fire the onchange event


  • From: rich at richgray.com (rich gray)
  • Subject: [Javascript] IE radio buttons don't fire the onchange event
  • Date: Wed Aug 30 14:51:51 2006

Marcelo Wolfgang wrote:
> I've tried removing the div's but IE still doesn't respond to the
> first click on the radio input, only for the second one.
>
> if I change the onchange="updateTotal(this)" to
> onchange="alert(this)", it trace this = [object, also with
> onchange="alert(this.value)" it trace the radio value, so I think the
> this object I'm using is correct.
>
> But I can't still figure out why it isn't firing the event when it
> should, and only on the second click ( which is a lot weirder ).
>
have you tried using the onclick event instead of onchange?

hth
rich