Jump to content

onChange works in IE but not really


FVxSF

Recommended Posts

Ok, here's the problem. I have a <select> with an onChange event that calls a PreviewImage(); function in the Head of the XHTML page. This works fine with Firefox as we all know but for some reason or another I keep getting an "Object Expected" error. So I moved the function to the <body> and it works. I'm not great with JS but I can work my way around it. Is there any specific reason this doesn't work in the <head>?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/108998-onchange-works-in-ie-but-not-really/
Share on other sites

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.