You are here: Re: How to display a " in an input box « HTML « IT news, forums, messages
Re: How to display a " in an input box

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 = "&quot;">

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация