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: Having problem to invoke calendar
javaspace
Junior Member

Posts: 2
Registered: 2/13/2003
Member Is Offline
posted on 2/13/2003 at 09:21 PM Reply With Quote
Having problem to invoke calendar


Hi:

When my page loads I get an error stating Error calling the calendar:no target control specified.
Thanks for your help in advance. Here is my code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<TITLE> DSC EDI 214 Delivery Interface </TITLE>
<script language="JavaScript" src="calendar2.js"></script><!-- Date only with year scrolling // -->
</head>
<body>
<form name="frmedi214d">
<table border=1 width=500> <TD width='150'>Status Date/Time </TD><TD width='50'> <BR> <input type='Text' name='sdt52' value='' > <a href="javascript:cal52.popup();"><img src='images\cal.gif' width='15' height='10' border='0' alt='Click Here to Pick up the date'></a></input><br><BR></TD> </tr></table> </form>
<script language="JavaScript">
var cal52 = new calendar2(document.forms['frmedi214d'].elements['input52']); cal52.year_scroll = true;cal52.time_comp = true
</script>
</body>
</html>
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 2/14/2003 at 08:00 AM Reply With Quote
re: Having problem to invoke calendar


That is just because you specified target control as document.forms['frmedi214d'].elements['input52'] but the only control present on your page isdocument.forms['frmedi214d'].elements['sdt52']
View User's Profile View All Posts By User U2U Member
javaspace
Junior Member

Posts: 2
Registered: 2/13/2003
Member Is Offline
posted on 2/14/2003 at 01:36 PM Reply With Quote

Thanks nik for point out the problem. I fixed that problem.Now when I click on the icon, I get page not found error?. Can you please advice?

Thanks for your help.
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