form solution button button to send a request form or refreshing the page

button type attribute type IE default button, and Google and so it defaults to submit type

Used in the form Form button button must define its type attribute

<form>
    <button type="button">button</button><!--不提交form-->
    <button type="submit">button</button><!--提交form-->
    <button>button</button><!--非IE提交form,IE不提交form-->
</form>

 

Guess you like

Origin www.cnblogs.com/webmc/p/11504525.html