Home > Web Front-end > JS Tutorial > Document.forms[].submit() usage introduction_javascript skills

Document.forms[].submit() usage introduction_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 16:59:23
Original
1946 people have browsed it

document.forms['exportServlet'].submit();

(1) document.forms: means to get all the forms of the current page

(2) document.forms[0]: means Get the first form of the current page

(3) document.forms['exportServlet']: Indicates getting the form of name="exportServlet" of the current page

(4) submit() Represents the submission function

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
document
From 1970-01-01 08:00:00
0
0
0
Chinese phpword document
From 1970-01-01 08:00:00
0
0
0
Can you share the Xmind document?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template