Page 1 of 1

[Solved] How do you add a " to a text field?

Posted: Tue Jul 19, 2005 3:09 pm
by Dale
If you use:

Code: Select all

<input type=&quote;text&quote; value=&quote;&quote;&quote;>
the " doesn't show in the form... could someone tell me how to allow this to work.

Posted: Tue Jul 19, 2005 3:16 pm
by Chris Corbyn
Doesn't escaping it work?

Code: Select all

<input type=&quote;text&quote; value=&quote;\&quote;&quote;>

or....

<input type=&quote;text&quote; value='&quote;'>

Posted: Tue Jul 19, 2005 3:22 pm
by Dale

Code: Select all

value='&quote;'
That worked. Cheers :D