How to remove x and y on submit in HTML form with Image type button?

前端 未结 4 1750
无人及你
无人及你 2020-12-02 22:04

I have created a form in my application as follows:

4条回答
  •  长情又很酷
    2020-12-02 22:57

    You can simply set a value, for an image button, this will override the regular coordinates behaviour. It worked for me.

    For example :

    
    

    will return the php variable $_POST['supprimer'] and not its coordinate as image button. Hope this trick will help you.

提交回复
热议问题