Home >Web Front-end >JS Tutorial >JavaScript function that can realize multiple form submission_form special effects

JavaScript function that can realize multiple form submission_form special effects

WBOY
WBOYOriginal
2016-05-16 19:10:50919browse


<script> <BR>function submitForm(formId,action){ <BR> var form=document.getElementById(formId); <BR> form.action=action; <BR> form.submit(); <BR>} <BR></script> Just pass in the form ID and url~
Statement:
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