JavaScript objects and Array reference Encyclopedia (4)

Source: Internet
Author: User
Tags array contains reference window
Reference | objects | Array Links array document an array of link objects in the order in which they appear in the document (the property itself is an object)
Location The URL of the currently displayed document. The user cannot change the document.location (because this is where the document is currently displayed). However, you can change window.location (replacing the current document with other documents) window.location itself is an object, and Document.location is not an object
Referrer contains the URL of the linked document that the user clicks to reach the current document
Title of document ((title>)
Vlinkcolor link text color that points to a document that the user has observed, that is, the vlink characteristics of the <BODY> tag

Method

Clear clears the contents of the specified document
Close closes the document flow
Open Document Flow
Write writes text to a document
Writeln writes text to the document and ends with a newline character.

B.8 Elements Array

It is a property of a Form object that enumerates an array of elements within the form.

Property

Number of elements in a 1ength window
B.9 Form Object
It is a property of the document object and is a form within it.

Property

The action contains a string of the target URL submitted for a form
A button in the button window that is created using the <input type= "button" > tag (the property itself is also an object)
CheckBox checkbox, using the <input type= "checkbox" > tag to create (the property itself is also an object)
An array of elements array that enumerates the form elements in the order in which they appear in the window (the property itself is also an object)
MIME encoding for encoding forms
A hidden element in the hidden form (<input type= "hidden" >). A property of a Form object (the property itself is also an object)
Number of elements in the length form
method to enter the way data on a form is transferred to the server, that is, the methods attribute in the (form) tag
Radio the radio button (<input type= "Radio" >) set in the form (the property itself is also an object)



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.