Javascript & URL referencing

Discussion in 'HTML' started by Marc, Jun 24, 2004.

  1. Marc

    Marc Guest

    I am trying to pass a url to a new window using javascript. Critical
    information is encrypted, URL encoded and then included as part of the
    URL. The problem is that something is changing the URL reference to
    ABSOLUTE and the encoded portion of the URL is reverting back to what
    it was before being encoded. This does not happen if Javascript is
    not involved and I am just opening a URL in the same window. Here is
    the source code:

    <a target='SalesRep' href='salesrep.asp?user=%D85%0B%18'
    onclick="window.open('','SalesRep','scrollbar=no,status=no,toolbar=no,resizable=no,menubar=no,location=no,directories=no,width=267,height=277');"
    title='SalesRep'>Click here for information about your sales
    representative.</a>

    The link shows up as http://www.mydomain.com/salesrep.asp?user=Ø5

    Is this a Javascript thing? I figure that it must be since everything
    works fine if I link to URLs using the same window. Any help would be
    very appreciated.

    Thanks
     
    Marc, Jun 24, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John
    Replies:
    2
    Views:
    540
    David Waz...
    Jul 8, 2003
  2. Dune
    Replies:
    1
    Views:
    2,958
    Ken Cox [Microsoft MVP]
    Jan 14, 2004
  3. Jon paugh
    Replies:
    1
    Views:
    1,356
  4. Amelyan
    Replies:
    5
    Views:
    581
    Karl Seguin
    May 3, 2005
  5. Kevin Morgan
    Replies:
    1
    Views:
    791
    Amos E Wolfe
    May 16, 2005
  6. Just D.
    Replies:
    0
    Views:
    815
    Just D.
    Aug 11, 2004
  7. Replies:
    3
    Views:
    262
    Dave Anderson
    Jun 4, 2007
  8. Jim Adamson

    Referencing name/values in URL string

    Jim Adamson, Dec 14, 2004, in forum: Javascript
    Replies:
    7
    Views:
    193
Loading...