Object
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 table 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.