I call the javascript to populate a textbox with the date using this link in the aspx page (tstest is the form ID and timestamp is the textbox ID) ....
[code] <a href="javascript:show_calendar('document.tstest.timestamp', document.tstest.timestamp.value);"><img src="images\cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the timestamp"></a>[code]
This is the link to the javascript code ....
http://javascriptkit.com/script/script2/timestamp.shtml
It works perfectly in VS2008 but when I deploy it to the site I get this error ....
"Message: 'document.tstest.timestamp' is null or not an object"
I've tried for hours and days to get this working so any help is greatly appreciated.
[code] <a href="javascript:show_calendar('document.tstest.timestamp', document.tstest.timestamp.value);"><img src="images\cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the timestamp"></a>[code]
This is the link to the javascript code ....
http://javascriptkit.com/script/script2/timestamp.shtml
It works perfectly in VS2008 but when I deploy it to the site I get this error ....
"Message: 'document.tstest.timestamp' is null or not an object"
I've tried for hours and days to get this working so any help is greatly appreciated.
Comment