我有一个"for Loop"在ASP.NET Core中这样:
<button type="submit" Form="FormActive" name="id" value="@item.I"></button>
<!--It Will Create SomeThing Like This:-->
<button type="submit" Form="FormActive" name="id" value="1"></button>
<button type="submit" Form="FormActive" name="id" value="2"></button>
<button type="submit" Form="FormActive" name="id" value="3"></button>
... ... ... ... 4
... ... ... ... 99
<!--And This Is My Single Form : -->
<form id="FormActive" action="/action_page">
</form>
什么问题? 为什么这个表格只发送一个httpRequest POST Without"ID"和值?(实际上它将发送一个帖子请求Empty Body)
send ID我该做什么
上一篇:I Can Remove Form—And I Cant Use +99 Form Too 也许我需要jQuery…还是怎么的