Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2011
    Thanked 0 Times in 0 Posts

    Javascript datepicker works in VS2008 but fails when deployed

    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 ....


    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.

  2. #2
    New Coder
    Join Date
    Aug 2011
    Thanked 2 Times in 2 Posts
    what is the current date format?
    Don't forget to mark solution providing post as "Answered".
    It helps others to find correct solutions!


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts