jQuery-UI <button>自动提交其表单

use*_*971 5 html jquery

单击a时<button>,会自动触发(GET-)提交事件.如何关闭此行为?

red*_*are 16

Button的默认类型为submit.只需添加type="button"到标记