IT. Expert System.

Java Script

DOM Input Text Object

DOM Input Text Object

The Text object represents a text-input field in an HTML form.

For each <input type="text"> tag in an HTML form, a Text object is created.

The Input Text object can be accessed by searching through the elements[] array of the form, or by using document.getElementById().


Property Description
alt Sets or returns an alternate text to display if a browser does not support text fields
defaultValue Sets or returns the default value of a text field
disabled Sets or returns whether or not a text field should be disabled
form Returns a reference to the form that contains the text field
maxLength Sets or returns the maximum number of characters in a text field
name Sets or returns the name of a text field
readOnly Sets or returns whether or not a text field should be read-only
size Sets or returns the size of a text field
type Returns the type of form element a text field is
value Sets or returns the value of the value attribute of a text field


Method Description
select() Selects the content of a text field

Standard Properties and Methods

This object also supports the standard properties and methods.

Standard Events

This object also supports the standard events.


Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)





Java Script








Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 128 / 159132822. Delta: 0.03712 с