我在表格的末尾有一个提交按钮.
I have added the following condition to the submit button:
onClick="this.disabled=true;
this.value='Sending…';
this.form.submit();"
但当它移动到下一页时,参数没有传递,传递的是空值.
我在表格的末尾有一个提交按钮.
I have added the following condition to the submit button:
onClick="this.disabled=true;
this.value='Sending…';
this.form.submit();"
但当它移动到下一页时,参数没有传递,传递的是空值.
Probably you're submitting the form twice.
Remove the this.form.submit()
or add return false
at the end.
你最终应该会得到onClick="this.disabled=true; this.value='Sending…';"
分