Advertisement

09.05.2008 at 08:17PM PDT, ID: 23708199 | Points: 250
[x]
Attachment Details

Javascript source works in IE, but not safari or firefox

Asked by cholmesKY1 in Safari Web Browser, JavaScript, Firefox Web Browser

Tags: , ,

I am including a javascript .js file into an asp page.  Everything works great for internet explorer, but not so well with Firefox and Safari.  I keep getting the error CalendarPopup not defined when I check firefox's error console.  

I've searched this site and tried all kinds of things to try to get it to work but nothing has helped.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
<SCRIPT LANGUAGE="JavaScript" SRC="CalendarPopup.js"></SCRIPT>
 
<SCRIPT LANGUAGE="JavaScript">
var cal1 = new CalendarPopup("date1");
cal1.setCssPrefix("TopStyle");
</SCRIPT>
[+][-]09.05.2008 at 08:26PM PDT, ID: 22405526

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.06.2008 at 06:23AM PDT, ID: 22407377

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.16.2008 at 02:52AM PST, ID: 22970250

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628