[whatwg] Question about "Type here your search word(s)" input box

On Thu, 1 Jul 2004, martijn wrote:
>
> There are lots of sites (and even Opera has it with the Google search
> box) that use an input box, which have some predefined value in it and
> when you focus it, that value disappears.  A lot of times you see it
> used in a search input box. Something like "Type here your search
> word(s)".
>
> Is this something that should be handled by the web forms spec, or
> should it stay in the realm of javascript?

We will probably introduce a placeholder="" attribute to do this in Web
Forms 3.0.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 1 July 2004 04:44:15 UTC