misscemo
Junior Member
Posts: 8
Registered: 7/17/2007
Member Is Offline
|
| posted on 7/26/2007 at 06:02 PM |
|
|
Calendar pops up, but next/prev not working...
The calendar pops up when I click on cal.gif and I am allowed to select a new date. However, when I click on the Next or Previous buttons, I get a
404 HTML page not found error. It's terribly strange because I can select a date within the current month and year, but I can't get to another
month and year to pick a different date.
Here is my script - I want to note that I did put 'initial values' in the calendar fields... I don't know why that would matter, but I wanted to
mention it anyhow.
<script language="JavaScript" src="includes/calendar3.js"></script>
</head>
<body>
<br><br><br><br><br><br><br>
<table cellpadding="3" cellspacing="1" border="1" width="100%">
<form name="tstest">
<tr>
<td bgcolor="#ffffff" valign="center">
<font face="tahoma, verdana" size="3">Rate Revision Dates</font>
</td>
</tr>
<tr>
<td bgcolor="#ffffff" valign="top">
<br>
<font face="tahoma, verdana" size="3">New Business:</font>
<br>
<input type="Text" name="input9" value="<%=TableDataBean.getcol5()[0]%>">
<a href="javascript:cal9.popup();">
<img src="../workstation/includes/img/cal.gif" width="16" height="16" border="0" alt="Click Here to Select New Business
Date"></a>
<br>
<font face="tahoma, verdana" size="3">Renewal Date:</font>
<br>
<input type="Text" name="input10" value="<%=TableDataBean.getcol5()[1]%>">
<a href="javascript:cal10.popup();">
<img src="../workstation/includes/img/cal.gif" width="16" height="16" border="0" alt="Click Here to Select Renewal
Date"></a>
<br>
</td>
</tr>
</form>
<script language="JavaScript">
Any help you can offer is appreciated,
~misscemo
|
|
|
misscemo
Junior Member
Posts: 8
Registered: 7/17/2007
Member Is Offline
|
| posted on 7/26/2007 at 07:08 PM |
|
|
PS
If I change the date in my text box from year 2000 to year 2007, I will get a different calendar for the year I specify when I click on my cal.gif. I
just do not have the ability to next or previous when I click on their corresponding buttons. That's when the '404 HTML page not found' error
comes up.
Thanks for any help that can be offered. (This forum is a great idea.)
|
|
|
tigra
Administrator
Posts: 1868
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 7/26/2007 at 07:24 PM |
|
|
in window.open(...) call inside calendar?.js file use absolute path to calendar.html (i.e. http://www.softcomplex.com/products/tigra_calendar/calendar.html or shorter version /products/tigra_calendar/calendar.html)
|
|
|
Chopenko
Junior Member
Posts: 9
Registered: 10/30/2007
Location: México
Member Is Offline
|
| posted on 10/30/2007 at 11:21 PM |
|
|
Partial Solution
To find a partial solution, go here http://www.softcomplex.com/forum/viewthread_4310/
|
|
|