JavaScript objects and Array reference Encyclopedia (10)

Source: Internet
Author: User
Tags array object reference
Reference | objects | Array useragent user and proxy header text sent by client to server

Method

javaenabled JavaScript does not currently have this method, but will soon add that it will see if the browser is compatible with JavaScript, and if so, continue to see if JavaScript is supported.

b.22 Options Array

The array is a property of the Select object, a list of all options (<OPTION>) in the selection box.

Property

Default options in the list of defaultselected options
Index position of an option in the Index options list
Number of options in the length option list (<OPTIONS>)
The name of the list of name options (name attribute)
Selected a Boolean type value that indicates whether an option <OPTION> is selected in the list of options
Index of <OPTION> selected in the list of SelectedIndex options (location)
Text after <OPTION> tag in the text options list
value= attribute in list of value options

B.23 Password Object

It is a property of the Document object, a <input type= "PASSWORD" > tag.

Property

Default value of DefaultValue password object (value= attribute)
Name (name= attribute) of the name object
Value the current value of the field is initially the same as the value= attribute (defauttvalue), but if the script modifies the value in that field, the value changes

Method

Focus moves the focal point away from the field



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.