Two submit buttons in one form

前端 未结 19 2050
不思量自难忘°
不思量自难忘° 2020-11-21 23:23

I have two submit buttons in a form. How do I determine which one was hit serverside?

19条回答
  •  迷失自我
    2020-11-21 23:53

    This is extremely easy to test

    Just put that in an HTML page, click the buttons, and look at the URL

提交回复
热议问题