Connecting Tech Pros Worldwide Forums | Help | Site Map

dlcalendar.js not working in Internet Explorer

Newbie
 
Join Date: Aug 2008
Posts: 2
#1: Aug 28 '08
I'm using the dlcalendar.js script from webreference.com/dhtml. It works fine in Firefox and I don't even get any warnings in the javascript console. But in Internet Explorer it causes "The page cannot be displayed" error. I ran the script debugger but it was of no help. If I move the "<script>" line up in the file before the "<input>" and "<img>" lines that call the calendar, the page loads but the calendar doesn't work. I would post the dlcalendar.js code but it's rather long. I'm just looking for ideas on how to troubleshoot this, I'm out of ideas.

Ferris's Avatar
Member
 
Join Date: Oct 2007
Location: Shanghai
Posts: 102
#2: Aug 29 '08

re: dlcalendar.js not working in Internet Explorer


did you disable Javascript in Internet Explorer? You may check your IE settings.
Newbie
 
Join Date: Aug 2008
Posts: 2
#3: Aug 29 '08

re: dlcalendar.js not working in Internet Explorer


Quote:

Originally Posted by Ferris

did you disable Javascript in Internet Explorer? You may check your IE settings.

Javascript is enabled, I have other javascript that is working. I tried this from IE7 on XP and IE6 on W2k3 with the same result. I think I'll try playing around a bit more with the script debugger and see if I can get somewhere.
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#4: Aug 30 '08

re: dlcalendar.js not working in Internet Explorer


Are you using the latest version?

Have you tried out the demonstration pages?
Newbie
 
Join Date: Nov 2008
Posts: 1
#5: Nov 8 '08

re: dlcalendar.js not working in Internet Explorer


I had the same problem with IE not loading the page yet Firefox worked like a charm. What I did to fix the problem with IE was to move the <script type="text/javascript" language="javascript" src="dlcalendar.js"></script>
just above the </body> tag and it works like a champ!
Reply


Similar JavaScript / Ajax / DHTML bytes