Quote (") problem

Results 1 to 2 of 2

Thread: Quote (") problem

  1. #1
    Join Date
    Dec 1969

    Default Quote (") problem

    I have a drop-down select which submits onChange, and then the option is selected after that. But it cannot seem to work if the option is something like 17" Monitor........<BR>when i select 17" monitor, it did not select back 17" monitor and i realise the value passed is only 17..... And then I try.... replace(string,chr(34),"&quote").......it still did not work.....

  2. #2
    Join Date
    Dec 1969

    Default RE: Quote (

    basically, it breaks the HTML - this isn&#039;t an ASP issue.<BR><BR>note the header to this reply - also broken, for the same reason. my quick, slapdash solution would be (looks crappy but works) Replace(str, """", "&#039;&#039;") or just don&#039;t put &#039;"&#039; in stuff that may be written to an HTML attribute<BR><BR><BR>j<BR>http://www.atrax.ws/

Posting Permissions

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