- From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
- Date: Tue, 30 Sep 2008 16:18:20 +0200
How can the Web designer know how many recent search terms the user would like to keep handy at the search box? What if autosave strings clash, or get deliberately stepped upon? I think it is a user preference + browser QoI and Web sites should not try to outsmart it. Marking a box as a search box is already there (ISINDEX, deprecated). Chris -----Original Message----- From: whatwg-bounces@lists.whatwg.org [mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Andy Lyttle Sent: Tuesday, September 30, 2008 1:40 PM To: whatwg at lists.whatwg.org Subject: [whatwg] Safari-compatible <input type="search"> I would like Apple's <input type="search"> adopted as an official standard, maintaining Safari compatibility. Attributes are: onsearch="foo();" - JavaScript function called when the user initiates a search incremental - if present, onsearch fires on every keypress, and on clicking the cancel button; otherwise onsearch fires when pressing Enter results - if present, shows a little magnifying glass icon, which helps to visually identify the field as a search box results=10 - the magnifying glass functions as a drop-down menu containing a history of the last (whatever number) search terms autosave="foo" - define a unique name to identify the search history (so the same history may be shared across multiple search boxes, even across different domains)
Received on Tuesday, 30 September 2008 07:18:20 UTC