- From: Alexey Feldgendler <alexey@feldgendler.ru>
- Date: Wed, 21 Feb 2007 11:54:37 +0100
On Wed, 21 Feb 2007 11:28:47 +0100, Wolfram Kriesing <wolfram.kriesing at gmail.com> wrote: > I was searching, but didnt find a hint-attribute for an input. The > more often we are using inline editing, the more the need for the > following is rising, imho: > > <input type="whatever" hint="Enter your title here" /> > > The text "Enter your title here" is shown as the value while no value > is given, or when the field is empty, upon focusing the element this > string disappears. If no value was entered this text is shown again > ... I guess its clear what I think of here, a lot of apps already have > that. > I could also imagine styling this hint text differently, may be customizable. > Is there already such a thing? >From the semantic standpoint, I believe this is what the title attribute expresses. Please somebody correct me if I'm wrong, but this behavior (show the value of the title attribute whenever the control is not focused and has empty value) can already be specified with CSS over WF2. -- Alexey Feldgendler <alexey at feldgendler.ru> [ICQ: 115226275] http://feldgendler.livejournal.com
Received on Wednesday, 21 February 2007 02:54:37 UTC