[thelist] Escaping quotes in a hidden input's value

Roger Ly evolt at matchpenalty.com
Thu Jun 3 12:13:41 CDT 2004


>When I submit a form that includes this:

><input type="hidden" name="Title" value=""I Loved It!"">

>The script that processes the form sees an empty string for the value
of
>"Title".

>How can I get it to see "I Loved It!"?

<input type="hidden" name="Title" value="&#34;I Loved It!&#34;">

http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=esca
ping+quotes+html+attributes

First result:
http://www.cs.tut.fi/~jkorpela/HTML3.2/3.4.html

Roger
 



More information about the thelist mailing list