POST from an tag

前端 未结 10 605
春和景丽
春和景丽 2020-12-04 01:44
10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-04 02:01

    Basically, you can't use an anchor tag for a POST request. However, there is a simple hack to achieve this.

    Submit to action

    I have tested this and already using it in our production code.

提交回复
热议问题