下拉框三
HTML:
<div class="lr-layout-tool-item" style="margin-top:4px">用工类型</div>
<div class="lr-layout-tool-item">
<div id="list_three" class="form-control" isvalid="yes" style="width:150px" checkexpession="NotNull"></div>
</div>
js:
注:返回值字段名称必须与value和text一样
$('#list_two').lrselect({
url: top.$.rootUrl + '/LR_CodeDemo/HZL_Try/List_Two',
//data:{"value1":"text1","value2":"text2"},
value: 'value',
text: 'text',
title: 'text',
maxHeight: 200,
allowSearch: true, //是否允许搜索
select: function (item) {
}
});
取值:
var list_two = $("#list_two").lrselectGet();

浙公网安备 33010602011771号