• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

Input

Synopsis

form.elements[i]
form.elements[name]
form.name

Properties

The Input object defines properties for each of the attributes of the HTML <input> tag, such as maxLength, readOnly, size, and tabIndex. In addition, it defines the following properties:

checked

A read/write boolean that specifies whether an input element of type “checkbox” or “radio” is checked (true) or not (false).

defaultChecked

A boolean that specifies whether an input element of type “checkbox” or “radio” is checked when first created or when it is reset to its initial state.

defaultValue

A string that specifies the text that appears in an input element of type “text” or “password” when it is first created or when it is reset to its initial state. For security reasons, this property does not affect input elements of type file.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint