Mac OS X Reference Library Apple Developer
Search

HTMLInputElement

Module:
html
Inherits from:
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

checkValidity
click
select
setCustomValidity
setSelectionRange
setValueForUser
stepDown
stepUp

checkValidity



boolean checkValidity(); 

click



void click(); 

select



void select(); 

setCustomValidity



void setCustomValidity(
    in DOMString error); 

setSelectionRange



void setSelectionRange(
    in long start,
    in long end); 

setValueForUser



void setValueForUser(
    in DOMString value); 

stepDown



void stepDown(
    in long n) raises(DOMException); 

stepUp



void stepUp(
    in long n) raises(DOMException); 

Member Data

accept
accessKey
align
alt
autofocus
boolean
checked
defaultChecked
defaultValue
disabled
files
form
formNoValidate
indeterminate
list
max
maxLength
min
name
pattern
placeholder
readOnly
required
selectedOption
selectionEnd
selectionStart
size
src
step
type
useMap
validationMessage
validity
value
valueAsDate
valueAsNumber
willValidate

accept



attribute DOMString accept; 

accessKey



attribute DOMString accessKey; 

align



attribute DOMString align; 

alt



attribute DOMString alt; 

autofocus



attribute boolean autofocus; 

boolean



attribute boolean multiple; 

checked



attribute boolean checked; 

defaultChecked



attribute boolean defaultChecked; 

defaultValue



attribute DOMString defaultValue; 

disabled



attribute boolean disabled; 

files



readonly attribute FileList files; 

form



readonly attribute HTMLFormElement form; 

formNoValidate



attribute boolean formNoValidate; 

indeterminate



attribute boolean indeterminate; 

list



readonly attribute HTMLElement list; 

max



attribute DOMString max; 

maxLength



attribute long maxLength setter raises(DOMException); 

min



attribute DOMString min; 

name



attribute DOMString name; 

pattern



attribute DOMString pattern; 

placeholder



attribute DOMString placeholder; 

readOnly



attribute boolean readOnly; 

required



attribute boolean required; 

selectedOption



readonly attribute HTMLOptionElement selectedOption; 

selectionEnd



attribute long selectionEnd; 

selectionStart



attribute long selectionStart; 

size



attribute unsigned long size; 

src



attribute DOMString src; 

step



attribute DOMString step; 

type



attribute DOMString type; 

useMap



attribute DOMString useMap; 

validationMessage



readonly attribute DOMString validationMessage; 

validity



readonly attribute ValidityState validity; 

value



attribute DOMString value; 

valueAsDate



attribute Date valueAsDate setter raises(DOMException); 

valueAsNumber



attribute double valueAsNumber setter raises(DOMException); 

willValidate



readonly attribute boolean willValidate; 

 

Did this document help you? Yes It's good, but... Not helpful...

Last Updated: 2010-05-27