[thelist] quotes in a formfield value

Morbus Iff morbus at disobey.com
Thu Oct 5 10:09:46 CDT 2000


At 10:32 AM 10/5/00, Peter Van Dijck wrote:
 ><input type="text" name="textfield" value="I say: \"hello\"">

What do you think this is, Perl or JS? <g>...

 ><input type="text" name="textfield" value="I say: "hello"">

Basically, the browser is getting confused - it's thinking that "I say: " 
is the complete value of the input type, and the rest of the stuff it'll 
just ignore. I've seen other browsers do this too. You'll want to encode them:

<input type="text" name="textfield" value="I say: &quot;hello&quot;">


Morbus Iff
.sig on other machine.
http://www.disobey.com/
http://www.gamegrene.com/





More information about the thelist mailing list