Results 1 to 3 of 3

Thread: Problem with: Jason's Date Input Field

  1. #1
    Join Date
    Apr 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem with: Jason's Date Input Field

    1) Script Title:
    Jason's Date Input Calendar

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...oncalendar.htm

    3) Describe problem:
    Use FF and click on the Year field. Manually start typing. You will see that there is an error. The error is in the calendarDateInput.js line 581. You have: onKeyPress="return YearDigitsOnly(window.event)" you should have - onKeyPress="return YearDigitsOnly(event)". It works fine in IE/Opera for both cases.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I'm not getting that error in FF from the demo page on Dynamic Drive. However, I am getting:

    Error: e has no properties
    Source File: http://www.dynamicdrive.com/dynamici...arDateInput.js
    Line: 40
    Still, the script appears to work when manually entering the year in FF. In the end, that's all that really matters. Most FF users do not surf with its error console. Those who do should know the difference between a fatal error and one that doesn't cause any real problem.

    If I have missed something important here, please accept my apologies, and please explain further.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Apr 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yes, that is exactly what I am talking about. Line 40 error. However, if you want to make the script not have any errors on it, you can use 3.) from my first post. That will fix that error and also it works perfectly.

    Just trying to make the code be flawless.

    Take care, and good work!
    Chad R. Smith
    Willetts Systems

Bookmarks

Posting Permissions

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