jquery点击按钮,下拉框不隐藏 20
@Html.DropDownList("database-dropdownlist",ViewBag.databaseasIEnumerable<SelectListIt...
@Html.DropDownList("database-dropdownlist", ViewBag.database as IEnumerable<SelectListItem>, new { @class = "btn btn-success dropdown-toggle form-control" }) <script type="text/javascript" src="../../Scripts/jquery-1.4.4.min.js"> $(function () { $("button").click(function () { $("#database-dropdownlist").hide(); }); });</script> <button type="button">Click me</button>为什么点击按钮,上方的下拉框不隐藏
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询