+ 1
Through the 'type" attribute, you can specify the type of button: button, submit or reset. <button type="submit"> sends the form's data to a server for instance. How you 'catch' that information is up to you, not the submit button. And btw, for html forms, it's better to use <input> to create buttons.
5th Jul 2016, 2:21 AM
ZinC
ZinC - avatar