我正在 ASP.NET MVC 中编程,在网页 (.cshtml) 中我有如下文本输入区域:
\n\n<td>\n <input type="text" value="@p.QtdVendida" asp-for="@p.QtdVendida" data-key="@p.id" id="@("p_QtdVendida" + p.id.ToString())" />\n</td>\n<td>\n <input type="text" value="@p.QtdBonus" asp-for="@p.QtdBonus" data-key="@p.id" id="@("p_QtdBonus" + p.id.ToString())" />\n</td>\nRun Code Online (Sandbox Code Playgroud)\n\n如何防止列表自动使用以前的输入文本(例如来自其他会话)打开,并且始终在表第一行的文本输入中打开,即使我正在编辑第二行\xe2\x80\ xa6出现?如果我单击列出的其中一个元素,它只会更改第一行\xe2\x80\xa6 中的输入区域
\n\ntype="text"我在表中的所有文本输入 ( ) 中都遇到同样的问题。
你可以帮帮我吗?
\n\n非常感谢。
\n| 归档时间: |
|
| 查看次数: |
692 次 |
| 最近记录: |