- From: Charles Iliya Krempeaux <supercanadian@gmail.com>
- Date: Wed, 23 May 2007 13:15:57 -0700
Hello, On 5/23/07, Maciej Stachowiak <mjs at apple.com> wrote: > > On May 23, 2007, at 10:02 AM, Charles Iliya Krempeaux wrote: > > > > > So... perhaps we can come up with a way for them to get this effect, > > while preserving semantics. > > > > Maybe a new attribute? "innerlabel" maybe... or something like that. > > > > So, maybe something like.... > > > > <input type="search" innerlabel="search in vancouver..."> > > > > (And this would have the effect described in the original post. I.e., > > a text input box with "search in vancouver..." inside of it. When the > > use clicks in the text input box, that text disappears.) > > Did you see the proposal to use WebKit's "placeholder" attribute for > this purpose? It already works the way you suggest. Guess that's another reason to have an attribute like that in HTML5 :-) -- Charles Iliya Krempeaux, B.Sc. charles @ reptile.ca supercanadian @ gmail.com developer weblog: http://ChangeLog.ca/
Received on Wednesday, 23 May 2007 13:15:57 UTC