bootStrap suggest js下拉框的使用,供大家参考,具体内容如下
HTML
选择商品:
<%@ include file="dataJs/item/itemSuggest.jsp" %>
bootStrap suggest js下拉框的使用,供大家参考,具体内容如下
HTML
itemSuggest.jsp
<input id="suitName"
type="text" style="width: 300px; height: 30px; padding: 0 4px;">
<div class="input-group-btn" style="width: 0%">
<ul class="dropdown-menu dropdown-menu-right" role="menu">
</ul>
</div>
<!-- /btn-group -->
js
}
var dataList = {
value : []
};
var url = hostUrl + "item/selectItemList.do";
init(url,dataList);
console.info(dataList);
suggest("suitName",dataList);
}());
要引入的js