开发者

jQuery-UI <button> automatically submits its form

开发者 https://www.devze.com 2023-03-04 17:26 出处:网络
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

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

精彩评论

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

关注公众号