[jQuery] Re: Set event handler attributes does not work on IE7

2009-04-21 Thread James
Sorry I don't have a copy of IE7 to test with right now, but what happens if you change 'change' to 'focus' or 'click' or some other event? Does it fire the onInputChange function as expected? On Apr 20, 6:07 pm, Joshua Partogi wrote: > Thanks James! > > I still wonder why it doesn't work on IE7

[jQuery] Re: Set event handler attributes does not work on IE7

2009-04-20 Thread Joshua Partogi
Thanks James! I still wonder why it doesn't work on IE7 though. Cheers, On Apr 21, 11:55 am, James wrote: > You should do: > > $(".input").change(onInputChange); > or: > $(".input").bind("change", onInputChange); > > On Apr 20, 3:49 pm, Joshua Partogi wrote: > > > Dear all, > > > I'm trying t

[jQuery] Re: Set event handler attributes does not work on IE7

2009-04-20 Thread James
You should do: $(".input").change(onInputChange); or: $(".input").bind("change", onInputChange); On Apr 20, 3:49 pm, Joshua Partogi wrote: > Dear all, > > I'm trying to set event handler attributes when the DOM is ready, but > it doesn't work on IE7. > > The snippets are as such: > >     var o