Questions tagged «submit-button»

23
HTML表单中的多个提交按钮
假设您以HTML表单创建向导。一键向后退,一键向前。由于当您按下时,后退按钮首先出现在标记中Enter,它将使用该按钮提交表单。 例: <form> <!-- Put your cursor in this field and press Enter --> <input type="text" name="field1" /> <!-- This is the button that will submit --> <input type="submit" name="prev" value="Previous Page" /> <!-- But this is the button that I WANT to submit --> <input type="submit" name="next" value="Next Page" …

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.