A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on IRC (such as one of these permanent autoconfirmed members).

Difference between revisions of "Datalist"

From WHATWG Wiki
Jump to: navigation, search
m (removed Category:Form Controls using HotCat)
(+{{obsolete|spec=http://www.whatwg.org/specs/web-apps/current-work/multipage/#the-datalist-element}})
 
Line 1: Line 1:
 +
{{obsolete|spec=http://www.whatwg.org/specs/web-apps/current-work/multipage/#the-datalist-element}}
 
For the text, email,  url, date-related, time-related, and numeric types of the input element, a <code>list</code> attribute is introduced to point to a list of values that the UA should offer to the user in addition to allowing the user to pick an arbitrary value.
 
For the text, email,  url, date-related, time-related, and numeric types of the input element, a <code>list</code> attribute is introduced to point to a list of values that the UA should offer to the user in addition to allowing the user to pick an arbitrary value.
  

Latest revision as of 13:56, 9 July 2013

This document is obsolete.

For the current specification, see: http://www.whatwg.org/specs/web-apps/current-work/multipage/#the-datalist-element

For the text, email, url, date-related, time-related, and numeric types of the input element, a list attribute is introduced to point to a list of values that the UA should offer to the user in addition to allowing the user to pick an arbitrary value.

Examples

<input type="text" name="title" list="title-list">

<datalist id="title-list">
  <option value="Mr">
  <option value="Mrs">
  <option value="Miss">
  <option value="Ms">
</datalist>