Jump to content

onChange doesn't work well with IE


asmon

Recommended Posts

i have 2 selections 'select_1' and 'select_2'

'select_2' values are being updated depending on 'select_1'

it works fine with firefox but i have a weird problem using IE.

it looks fine when i select a value from 'select_1' for the first time, but if i select something else, then i select an option i've already selected, it suddenly won't update 'select_2'.

 

do you have any idea what might cause the problem or i should paste the code?

Link to comment
https://forums.phpfreaks.com/topic/168388-onchange-doesnt-work-well-with-ie/
Share on other sites

I think it's to do with the way they parse event handlers?

 

assuming you're using javascript:

 

var isitIE = document.all?true:false;

function eventhandler(e) {
if (isitIE) {
	event = e;
}
//pretty script here
}

 

something like that anyway... can't remember but that's what my script uses :P

 

 

//Edit, I just tried my script on IE6 and it failed HARD..

then again, i just rant he ACID3 test on it... It managed to get 5/100..... then when i moved the mouse around the window it went up to.... 12!!!!!!!!!!!

hah

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.