UK['fɔ:mz] US['fɔ:mz]
n. Way; shape (plural form of noun); (blank) form (paper); composition
v. form, constitute, produce (the third person singular of form); be; (make) take shape; form (friendship)
javascript forms attribute syntax
Function: Returns references to all Form objects in the document.
Syntax: document.forms[]
javascript forms attribute example
<html> <body> <form name="Form1"></form> <form name="Form2"></form> <form name="Form3"></form> <script type="text/javascript"> document.write("文档包含: " + document.forms.length + " 个表单。") </script> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance