Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Won't work on IE just in firefox
ripeie
Newbie

Posts: 1
Registered: 10/3/2007
Location: Ireland
Member Is Offline
posted on 10/3/2007 at 03:15 PM Reply With Quote
Won't work on IE just in firefox


Hi guys,

Can somebody help me fix this :(. It won't open in IE just in Firefox. Is the code wrong or where is the bug?

Code:

<script language="JavaScript" src="calendar1.js" type="application/javascript" ></script>

----------------------------------------------------------------

<input type="Text" name="date" readonly="readonly" style="background-color: #CCCCCC ;color:#000000" value="">
<a href="javascript:cal1.popup();"><img src="images/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date" /></a>


-------------------------------------------------------

<script language="JavaScript">

var cal1 = new calendar1(document.forms['form'].elements['dates']);
cal1.year_scroll = true;
cal1.time_comp = false;

//-->
</script>

View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 10/3/2007 at 03:37 PM Reply With Quote

1. make sure form has name="form" (which is not very descriptive name, consider changing)
2. in your input box you have
name="date"
but in the calendar call you have:
elements['dates']
those two have to match
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004