PC:下拉多选框
<link href="mselect.css" rel="stylesheet" />
<script type="text/javascript" src="jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="jquery.mselect.js"></script>
<input type="text" class="click_box" id="click_box" value="请选择" readonly/>
//下拉选项
var eara_option = {
'000':"全部",
'001':"北京市(京)",
'002':"天津市(津)",
'003':"河北省(冀)",
....
};
//默认选中选项
var eara_str = [
"001",
"002"
...
]
$(document).ready(function () {
$("#click_box").mselect(options, eara_str);
});
demo.html