使用jQuery的on("click")绑定事件莫名其妙地刷新页面

 <input type="submit" class="btn_ok" id="submit1" value="确定" />
 改为:
<input type="botton" class="btn_ok" id="submit1" value="确定" />
===================================================
因为button按钮默认的type是submit或者image,点击之后会自动刷新

posted @ 2015-10-25 00:34  菜菜学长  阅读(1231)  评论(0编辑  收藏  举报