javascript - When you submit a form, does the button that was clicked get posted also? -


when submit form, button clicked posted also?

yes does. long set both name , value:

<input name="submit" value="submit" type="submit"/> 

in fact can have multiple submit buttons on same page , can detect 1 clicked on checking pair.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -