Ampersand encoding

Discussion in 'XML' started by Mariusz Sieraczkiewicz, Aug 27, 2003.

  1. The part of a xml (XSLT) code:
    <a class="button-link" href="javascript:;"
    onclick="window.open('address-ent-read?upid={$upid}&amp;upid_name={$upid_nam
    e}&amp;id=' + last.substr(4), 'Ramka', 'height=570,width=500')">

    produces >>&amp;<< on output. How to encode ampersand inside onclick?

    --
    _____________________________
    Pozdrawiam, Mariusz Sieraczkiewicz
     
    Mariusz Sieraczkiewicz, Aug 27, 2003
    #1
    1. Advertising

  2. It's ok. Sorry.

    > produces >>&amp;<< on output. How to encode ampersand inside onclick?
    >
     
    Mariusz Sieraczkiewicz, Aug 27, 2003
    #2
    1. Advertising

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. tfortney

    Ampersand in attribute

    tfortney, Apr 27, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    1,199
    tfortney
    Apr 28, 2004
  2. Prasanna Padmanabhan
    Replies:
    1
    Views:
    653
    Kevin Spencer
    Jul 8, 2004
  3. Rodusa

    Ampersand problem

    Rodusa, Feb 8, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    2,403
    Rodusa
    Feb 9, 2005
  4. =?Utf-8?B?a2x5bm4=?=

    ampersand in string

    =?Utf-8?B?a2x5bm4=?=, Jun 17, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    615
  5. Replies:
    4
    Views:
    5,010
    Hans Kesting
    Jun 21, 2005
Loading...

Share This Page