Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder Skyzyx's Avatar
    Join Date
    Aug 2002
    Location
    Silicon Valley, CA
    Posts
    980
    Thanks
    0
    Thanked 0 Times in 0 Posts

    XML Data Array Error

    Hey guys...

    I'm getting an error on line 126 of calJS.js, and I can't seem to figure out why. I've set some alert()'s to try to debug, and I think they're still in there.

    I'm trying to dig through an XML file for information to populate into my calendar script. I haven't yet added that functionality, cause I keep running into this error:

    "xmlDateArr[k] has no properties."

    I get the same error in Moz 1.3 and IE6.

    I've attached the complete source...
    Attached Files Attached Files
    Last edited by Skyzyx; 01-30-2003 at 03:27 PM.

    Creator of SimplePie and Tarzan AWS, co-founder of WarpShare, co-built the Y! Messenger website, usability-focused, and an INFJ personality.

  • #2
    Regular Coder Skyzyx's Avatar
    Join Date
    Aug 2002
    Location
    Silicon Valley, CA
    Posts
    980
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nevermind...

    Code:
    // Instead of
    for (x=0; x<=xmlDateArr.length; x++)
    
    // I needed
    for (x=0; x<=xmlDateArr.length-1; x++)
    Thanks anyways...

    Creator of SimplePie and Tarzan AWS, co-founder of WarpShare, co-built the Y! Messenger website, usability-focused, and an INFJ personality.

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Newcastle, England
    Posts
    178
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Skyzyx,

    Glad you could solve you problem - that js error message is no real help - if it just said 'array index out of range or something like that it might be useful.

    patrick


  •  

    Posting Permissions

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