有没有办法在 Javascript 中获取 ASP.NET MVC 控件生成的客户端 ID?
@Html.TextBoxFor(m => m.Name)
像这样:
@Html.IdFor(m => m.Name)