Reply to Re: Black text in Disabled text input?

Your name:

Reply:


Posted by Jonathan N. Little on 10/09/07 13:53

David Dorward wrote:
> On Oct 9, 7:57 am, jodleren <sonn...@hot.ee> wrote:
>> I have a <input type="text" name="indeks" size=2 disabled>
>> It is used for some JS which places its output here.
>
>> How can I keep the text black, and eventually have the background in
>> the same colour as the page background colour?
>
> You don't. Its an input, the purpose of the control is to collect data
> from the user. If you want to display output, use something else, such
> as a paragraph.

Or use <input type="hidden" name="indeks" value="To be set with JS">


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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