前台MVC+EasyUI,ComBox控件想做出随着输入下面给出提示的效果。
照着EasyUI官网的例子做的,但是在官网能实现边输入下面边显示相似的option选项:
但是我做出来就达不到这种效果,输入的时候下面没有提示,删除的时候才有。
这是官网的代码:http://www.jeasyui.net/demo/324.html
这是我的代码:
@{
ViewBag.Title = "Index";
}
<html>
<head>
<link href="~/Content/jquery-easyui-1.3.2/themes/default/easyui.css" rel="stylesheet" />
<link href="~/Content/jquery-easyui-1.3.2/themes/icon.css" rel="stylesheet" />
<link href="~/Content/jquery-easyui-1.3.2/demo/demo.css" rel="stylesheet" />
<script src="~/Content/jquery-easyui-1.3.2/jquery-1.8.0.min.js"></script>
<script src="~/Content/jquery-easyui-1.3.2/jquery.easyui.min.js"></script>
</head>
<body>
学院:
<input class="easyui-combobox"
name="language"
data-options="
url:'/Cascade/QueryAcademy',
valueField:'OrganizationID',
textField:'OrganizationName',
panelHeight:'auto',
">
</body>
</html>
代码跟官网上一模一样,不知道是怎么回事,一直出不来,求指教