selected 不能应用到textview之类的控件上,
因为textview之类的控件根本就不能选择 select 本为选择的意思,
如果你是radiobutton那就得用checked才会有效。...
分类:
其他好文 时间:
2015-08-03 11:35:32
阅读次数:
122
下面是设置无效的例子@Html.DropDownListFor(model => model.City, ViewBag.City as IEnumerable, "==选择==", new { @class = "form-control dropdown-toggle" })@Html.Drop...
分类:
Web程序 时间:
2015-05-21 12:18:55
阅读次数:
217