javascript| objects
check box (CheckBox) object
Property
The string value of the name Name property.
The string value of the contents of the Value check box. On if set, or off.
Boolean value for the contents of the Checked check box. True if set, or false.
defaultchecked reflect (CHECKED) The Boolean value of the property (the default state).
Method
Click () to select the check box and make it state "on".
Event handlers
OnClick executes when the user clicks the checkbox.
Radio button (radio) object
Property
The string value of the name Name property.
Length radio The number of radio buttons in the object.
The string value of the value Value property.
Checked Boolean value, press True, otherwise false.
Defaultchecked A Boolean value that reflects the value of the checked property.
Method
Click () Select the Order button.
Event handlers
OnClick executes when the radio button is selected.
Select Object
Property
The number of objects in the length select object.
Name is the internal name of the select object defined by the Name= property.
SelectedIndex the subscript of the currently selected option in the Select object.
Options This property corresponds to the contents of the tag when you define a Select object in HTML, and it has the following properties:
Text string that is marked with text.
Values of the value Value property, which is committed when the submit button is pressed.
Defaultselected A Boolean value that reflects the selected property of the tag.
Selected a Boolean value that reflects the current selection state of option.
Event handlers
Onfocus executes when the input focus is entered into the domain.
OnBlur is executed when the field loses input focus.
OnChange executes onChange when the domain loses focus and if the value of the domain changes relative to onfocus execution.
Button Object
There are three types of buttons in the grid defined by the type attribute in the tag:
. Submit (Type= "Submit")
. Reset (type= "reset")
. Custom (type= "button")
All button objects have the following ingredients:
Property
The string value of the value Value property.
The string value of the name Name property.
Method
Click () Select button
Event handlers
OnClick executes when the button is clicked.
Submit and Reset Objects
Property
The contents of the Value value= property.
The contents of the name Name= property.
Method
Click () Select button
Event handlers
OnClick executes when the button is clicked.
Password objects
Property
DefaultValue the contents of the Value= property.
The contents of the name Name= property.
Value currently enters the data for the password field.
Method
Focus () takes you to the password field.
Blur removes the focus from the password domain.
Select () selects the current data in the Password field for modification.
Navigator Objects
This object is used to determine the navigator version that is used when the user accesses.
Property
appCodeName "codename" relative to the user's browser
AppName the actual name relative to the user's browser.
AppVersion The version number relative to the user's browser.
UserAgent This property reflects all the information in the user's browser.