bluewalrus
08-20-2010, 06:50 PM
How do I escape a double quote in html?
I want to use it like this
<input type="text" value="John said "Hello, there"?" />
I've tried
<input type="text" value="John said \"Hello, there\"?" />
and
<input type="text" value="John said 'Hello, there'?" />
I want to use it like this
<input type="text" value="John said "Hello, there"?" />
I've tried
<input type="text" value="John said \"Hello, there\"?" />
and
<input type="text" value="John said 'Hello, there'?" />