Home >Web Front-end >JS Tutorial >Document.forms[].submit() usage introduction_javascript skills
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