W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

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

From: martijn <martijnw@hotpop.com>
Date: Thu, 01 Jul 2004 02:16:31 +0200
Message-ID: <40E357DF.9050206@hotpop.com>
Another question. (apologies if this 'issue' has been raised before or 
not relevant at all)

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?

Regards,
Martijn
Received on Wednesday, 30 June 2004 17:16:31 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:34 UTC