使用jquery.form.js官网现在地址表单插件来实现异步form表单提交. 先看看官方的介绍: /* Usage Note: ----------- Do not use both ajaxSubmit and ajaxForm on the same form. These functions are mutually exclusive. Use ajaxSubmit if you want to bind your own submit handler to the form. Fo…
function exportExcel() { var merchantName = $('#merchantName').val(); var merchantNo = $('#merchantNo').val(); var orderNo = $('#orderNo').val(); var phone = $('#phone').val(); var orderStatus = $('#orderStatusCombobox').combobox('getValue'); var pai…
https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Sending_forms_through_JavaScript As in the previous article, HTML forms can send an HTTP request declaratively. But forms can also prepare an HTTP request to send via JavaScript. This article…