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: grillo at gmail.com (Marcelo Wolfgang)
- Subject: [Javascript] IE radio buttons don't fire the onchange event
- Date: Wed Aug 30 13:33:49 2006
Hi John, 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 ). Any clues ? TIA Grillo On 8/30/06, John Warner <john@xxxxxxxxxxx> wrote: > Your 'this' object appears seems to be the div tag rather then the radio > button when it arrives at the update(obj) function. > > As an experiment remove the div tags around a couple of the radio > buttons and see what happens. > > John Warner > > > > -----Original Message----- > > From: javascript-bounces@xxxxxxxxxx > > [mailto:javascript-bounces@xxxxxxxxxx] On Behalf Of Marcelo Wolfgang > > Sent: Wednesday, August 30, 2006 12:46 PM > > To: javascript@xxxxxxxxxx > > Subject: [Javascript] IE radio buttons don't fire the onchange event > > > > > > Hi list, > > > > I'm working on a web page that has some radio buttons with a > > onchange event, that is acting weird, and I need some advice > > > > They work fine in Firefox, but in IE they only fire after > > there's another click on the page, something like this: > > > > - click in one radio (nothing happens) > > - click anywhere on the page, may be another radio, or the > > background, the event is fired > > > > the page in question is : > > > http://work.grillo.tk/gaiolla/checkout_shipping.html > > Thanks for any advice. > Grillo > _______________________________________________ > > > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript >
- Follow-Ups:
- [Javascript] IE radio buttons don't fire the onchange event
- From: rich gray
- [Javascript] IE radio buttons don't fire the onchange event
- References:
- [Javascript] IE radio buttons don't fire the onchange event
- From: Marcelo Wolfgang
- [Javascript] IE radio buttons don't fire the onchange event
- From: John Warner
- [Javascript] IE radio buttons don't fire the onchange event
- Prev by Date: [Javascript] IE radio buttons don't fire the onchange event
- Next by Date: [Javascript] Some small problems with simple "drop down"
- Previous by thread: [Javascript] IE radio buttons don't fire the onchange event
- Next by thread: [Javascript] IE radio buttons don't fire the onchange event
- Index(es):