JQueryEasyUI easyui-combobox 单击文本区域显示下拉菜单

//单击内容框弹出下拉菜单
$(".combo").click(function (e) {
if (e.target.className == 'combo-text validatebox-text'){
if ($(this).prev().combobox("panel").is(":visible")) {
$(this).prev().combobox("hidePanel");
} else {
$(this).prev().combobox("showPanel");
}
}
});

posted @ 2017-07-12 09:21  hg一如既往  阅读(990)  评论(0编辑  收藏  举报