Results 1 to 2 of 2

Thread: new to JavaScript, need help

  1. #1
    Join Date
    Feb 2008
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up new to JavaScript, need help

    thanks for the help and info
    Last edited by rsines; 02-03-2008 at 11:52 AM.

  2. #2
    Join Date
    Aug 2007
    Location
    Ohio
    Posts
    79
    Thanks
    0
    Thanked 15 Times in 15 Posts

    Default

    Your problem is with the syntax you are using to get and set elements of the array.

    Instead of using:
    Code:
    unp.0 = "username1:/password1:user1.html";
    Use:
    Code:
    unp[0] = "username1:/password1:user1.html";
    And to help you understand the syntax of arrays in Javascript, check out this article: The JavaScript Array: Definition and Syntax

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
  •