标签: html razor autocomplete
我正在使用MVC 4,jQuery和Bootstrap插件,但我想取消建议的话,所以我把 autocomplte =“off”但是它无效。请指教我 我的剃刀代码是
@Html.TextBoxFor(m => m.Customer_Username, new { id = "logusrname",@autocomplete="off", @class = "form-control", @role = "form", @placeholder = "Username" })