Results 1 to 2 of 2

Thread: javascript variable gettin cut short at the '?'

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2001
    Posts
    746

    javascript variable gettin cut short at the '?'

    i have the followin code in a html page:

    VB Code:
    1. <script>
    2. function countinue()
    3. {
    4. var url = "/cgi-bin/anonymous.pl?get=url=" + ourl.value + "?updatelinks=" + updatelinks.checked + "?popupwindows=" + removepopupads.checked + "?removeads=" + removeads.checked + "?removehiddencharacters=" + removehiddencharacters.checked + "?textcolor=" + textcolor.value;
    5. window.location = url;
    6. }
    7. </script>

    but when i call the function it just goes to mysite/cgi-bin/anonymous.pl and then stops at the question mark. how can i make it load the part of the variable that would be after the question mark?
    Last edited by flamewavetech; Feb 15th, 2002 at 08:05 PM.
    FlameWave Technologies - internet tools

Posting Permissions

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



Click Here to Expand Forum to Full Width