HTMLInputElement : HTMLElement
HTMLInputElement allows the web page to recieve many types of input from the user. Use the
type
property to configure what type of input you want to get.Instance Properties
accept : String
files : FileList
multiple : Boolean
type : String
Determines the type of input to receive. Must be one of 'button'
, 'checkbox'
, 'color'
, 'date'
, 'datetime'
, 'datetime-local'
, 'email'
, 'file'
, 'hidden'
, 'image'
, 'month'
, 'number'
, 'password'
, 'radio'
, 'range'
, 'reset'
, 'search'
, 'sumbit'
, 'tel'
, 'text'
, 'time'
, 'url'
, or 'week'
. The default value is 'text'
.
Example:
RunResults:
Copyright © JavaScripture Contributors