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: how to read the returned date ?
NormanNewell
Junior Member

Posts: 3
Registered: 4/21/2005
Location: Ireland
Member Is Offline
posted on 4/21/2005 at 02:23 PM Reply With Quote
how to read the returned date ?


Hi
I am completely new to this ( i normaly program in VB6) so this is probably a realy stupid question. However here goes i have managed to strip down the code supplied with Tigra Calendar to one instance which is what i need . I wish to use the returned date in a query, however i cannot figure out how i can get the data that is deposited by the calendar into the text field named input1. my code is as below

<html>
<head>


<!-- European format dd-mm-yyyy -->
<script language="JavaScript" src="calendar1.js"></script><!-- Date only with year scrolling -->

</head>


<form name="tstest">
<tr>
<td bgcolor="#ffffff" valign="top">
Select Date:<br>
<input type="Text" name="input1" value="">
<a href="javascript:cal1.popup();"><img src="Assets/Images/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date"></a><br>

</td>

</tr>
</form>
<script language="JavaScript">
<!-- // create calendar object(s) just after form tag closed
// specify form element as the only parameter (document.forms['formname'].elements['inputname']);
// note: you can have as many calendar objects as you need for your application
var cal1 = new calendar1(document.forms['tstest'].elements['input1']);
cal1.year_scroll = true;
cal1.time_comp = true;


//-->
</script>


<!-- /Body -->

<!-- Footer -->

<!-- /Footer -->

</body>
</html>
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