Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003
    Posts
    106

    Unanswered: Urgent: Encloding URL's using Java script

    I have a javascript function as folows

    function show(url)
    {
    window.open('access_wind.asp?displayurl='+url+'&fl ag=1');
    }

    Now as you can see the url passed to the funcion is again being passed to an ASP access_wind.asp using query string.

    If the url passed is simple like http://www.google.com there is no problem but assume the url itself has some query string parameters,say
    "http://www.google.com?srch=sa&find=ba"

    now the access_wind.asp is called as follows
    "access_wind.asp?displayurl=http://www.google.com?srch=sa&find=ba&flag=1

    now this flag is a query string passed to access_wind.asp not www.google.com,how do we handle this situation,is there any workaround for this,any encoding or is it possible to separate the query string passed to access_wind and google.com.

    Pl. help,as this is very urgent
    Sachi

  2. #2
    Join Date
    Mar 2003
    Location
    Atlanta, GA
    Posts
    191

Posting Permissions

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