Saturday, April 11, 2015

a button inside of a web form will make the web form postback no different than an input of type=submit

onclick="doSomething(); return false;" put inline in the tag will prevent this behavior and let you do something in JavaScript instead. type="button" helps with this too.

No comments:

Post a Comment