|
Posted by Jukka K. Korpela on 03/19/06 23:41
"Stefan Mueller" <seekware-remove-@yahoo.com> wrote:
> How can I display a " in an input box?
There's no problem with it in input.
> I tried
> <input type = "text" value = "\"">
> without success.
Using it in the _prefilled_ content requires a special method, just as any
inclusion of " into an attribute value delimited with " characters:
<input type = "text" value = """>
Alternatively, you could use
<input type = "text" value = '"'>
but that's somewhat obscure.
On the other hand, there is _seldom_ reason to include " into the prefilled
(default) content. The idea of using it is probably a wrong approach to the
primary problem, which has not been disclosed.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Navigation:
[Reply to this message]
|