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
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
精彩评论