Site works perfect in Mozilla but not in IE. Is my js file not compatible with IE

Posted by Bonkers on Stack Overflow See other posts from Stack Overflow or by Bonkers
Published on 2010-06-16T14:03:58Z Indexed on 2010/06/16 14:32 UTC
Read the original article Hit count: 138

Filed under:
|
|
|
|

I'm working on a site written in PHP/MySQL. We have a form to reserve time on a calendar and it works great in Mozilla and stores the reservation to our database, but in IE you fill out the form and when you click the "Reserve" button to submit it and nothing happens. All I can think of is that my javascript is not working with IE. I have these lines in my .js file:

 resLenT = document.getElementById(resLenElem);

 resLenI = resLenT.selectedIndex;
 resLen = resLenI + 1;

where resLenElem is a drop-down box. These are the only lines that I can think of at the moment that might be causing trouble in IE. Does this all sound like I'm on the right track or am I way off base?

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript