OnChange not firing in IE, but perfect in Firefox - Hielo
I read many casers where this was happeneing but none of the proposed solutions leant themselves to how I was working with it so, alas, a new question on this old topic. everything is working perfectly in FF but the onchange is doing nada in IE. Any ideas of how to work around this 'problem' with IE?
check my profile for the test page online...
Web DevelopmentJavaScript
Last Comment
owenparker
8/22/2022 - Mon
aidinet
It is fired but the problem is in your fetchdata or readaStatChanged functions
you can put alert on the fetchdata function to see that it is called when the event fired by IE
aidinet
You have wrong HTML
you put div between <tr>s
you should put tbody instead of div (for the start and end div tags)
// this is wrong HTML</tr><div id="getavailsrvc"><tr>// use this</tr><tbody id="getavailsrvc"><tr>
Now I qam even more stumped. Made the tbody change. Put an alert in statechanged and sure enough it is firing and returning response properly in IE. Still works perfectly in FF. Hmmmm...
I'm actually getting a script error in IE now. Problem is, I don't know how to see the rrro in IE. I use FF when debugginh/troubleshooting and of course, the error doesn;t even happen in FF. How to I trap errors, reveal them in IE. Is there something I can turn on or something along the lines of Firebug in FF?
owenparker
ASKER
Ok, got debugging turned on in IE. In IE this line:
Reading that article really helped it make sense aidinet. Thanx. Always best to understand the why before figuring the how. It's all working great now and I think I conquered yet another 'situation' I was bound to come up against again someday soon.
Thanx for hangin' around long enough to help me 'see the light'
you can put alert on the fetchdata function to see that it is called when the event fired by IE