ligerCombox 的用法:
导入包:
<script src="<%=path%>/jquery/jquery-1.7.2.js" type="text/javascript"></script>
<script src="<%=path%>/jquery/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
<script src="<%=path%>/jquery/base.js" type="text/javascript"></script>
<script src="<%=path%>/jquery/ligerTree.js" type="text/javascript"></script>
<script src="<%=path%>/jquery/ligerTip.js" type="text/javascript"></script>
<script src="<%=path%>/jquery/ligerResizable.js" type="text/javascript"></script>
<script src="<%=path%>/jquery/ligerComboBox.js" type="text/javascript"></script>
<script src="<%=path%>/jquery/ligerMenu.js" type="text/javascript"></script>
<script src="<%=path%>/jquery/ligerDrag.js" type="text/javascript"></script>
<link href="<%=path%>/css/ligerui-all.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function() {
$("#knowledgeName").ligerComboBox({
width: 150,
height: 24,
selectBoxWidth: 251,
selectBoxHeight: 300,
resize:false,
split: ',',
valueField: 'id',
valueFieldID: 'typeIds',
tree:{data: ${problemType}}
});
</script>
<input type="text" id="knowledgeName" name="knowledgeName" value=""/>
<input type="hidden" id="typeIds" name="typeIds" value=""/>