easyui input内按回车刷新页面的解决方法

有一个easyui页面,一个form表单中有一个input输入框和一个搜索按钮。当焦点置于input输入框中并按下回车时,却刷新了页面,即使设置了onKeyPress事件也不行。将form删除解决了该问题。

参考资料:http://www.tuicool.com/articles/riY7ze

This entry was posted in Computer, Java, javascript. Bookmark the permalink.

One Response to easyui input内按回车刷新页面的解决方法

  1. wakeupflower says:

    hihao, wo ye shi ma nong,
    ni de tuicool.com you muma

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s