Name a submit button

Name a submit button
0

#1

Why would I give a name attribute to a input of type submit?


#2

So you could refer to it on the server side. You might want to attach a value to it, so it needs a name attribute to be able to identify the value of it.

<input name="submitVal" type="submit" value="someValue">