Pass input id from view to controller using an onclick (location.href) event in MVC?

前端 未结 0 1539
遇见更好的自我
遇见更好的自我 2020-12-06 10:30

I want to be able to pass the id value of a button using an onclick (location.href) from my view to a controller action result. My code is as follows:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题