Because each form has different detection items, so I cannot give you 10 thousandCode. You need to build your own detection functions using these elements described in this chapter. I have another example later. You can also refer to it.
In this
Because each form has different detection items, I cannot give you 10 thousand code. You need to build your own detection functions using these elements described in this chapter. I have another example later. You can also refer to it.
In this
JS Document attributes and Methods document. title // set the document title is equivalent to the title Tag document of HTML. bgColor // set the background color of the page document. fgColor // set the foreground color (text color) document.
JS Document attributes and methods. I hope you can understand them to facilitate future application development. Document. title // set the document title equivalent to the title tag of HTML
Document. bgColor // set the background color of the
Document. title // set the document title equivalent to the title tag of HTMLDocument. bgColor // set the background color of the pageDocument. fgColor // set the foreground color (text color)Document. linkColor // The link color that has not been
Properties and methods for formsOne. The attribute of the form field (Id/name/value/form), where the Value property is used as an exampleThe Form property above represents the parent form object that gets the form field1. Obtaining a propertyConsole.
Note: The element name attribute on the page must be consistent with the name referenced by JavaScript, including case sensitivity. Otherwise, an error message is displayed, "the referenced element is empty or not
Document Object-JavaScript script
Document Object-Javascript script language description
-----------------------
Note: The element name attribute on the page and the name referenced by JavaScript must be case-sensitive.
Otherwise, an error message "the referenced element is null or
Object Property:
Document. Title // set the document title is equivalent to the tag of HTML.Document. bgcolor // set the background color of the pageDocument. fgcolor // set the foreground color (text color)Document. linkcolor // The link color
Introduction to common objects in document and event javascript [from]: Taipa
[Note: The element name attribute on the page and the name referenced by JavaScript must be case-sensitive. Otherwise, an error message "the referenced element is null or
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.