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 2 of 2
  1. #1
    New Coder
    Join Date
    May 2005
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with Quotes :(

    I have a little javascript that works fine if I put the value in the script like so

    RemoveLookup("AV001");
    RemoveLookup("AV002");
    RemoveLookup("AV003");

    However there could be 100 of these so I was going to do it with a for next loop like so..


    for (x=1; x<=100; x++)
    {
    var item='AV'+pad(x,3); // pad it out to 00? etc..
    RemoveLookup(item);
    }

    Problem is that I need a double quote around the item variable and I don't know how to do that, Please help

  • #2
    New Coder
    Join Date
    May 2005
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Never Mind, I got it


  •  

    Posting Permissions

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