FVxSF Posted June 6, 2008 Share Posted June 6, 2008 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 Quote Link to comment Share on other sites More sharing options...
FVxSF Posted June 6, 2008 Author Share Posted June 6, 2008 I'm not sure why this is but I removed my functions from the <script> section that was with TinyMCE and stuck them in their own <script> and seems to be working fine now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.