开发者

jQuery-UI <button> automatically submits its form

When I click a <button>, automatically a (GET-)subm开发者_开发问答it event is triggered. How can I turn this behaviour off?


Button has a default of type submit. Simply add type="button" to the markup

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜