easyui结合ztree做成tooltip样式的下拉框

js代码:

//利用tooltip和a标签,input标签做成下拉框假样式
$('#dd').tooltip({
    position: 'bottom',
    content: "",
    onShow: function(){
		$('#orgtree').attr('src','${ct}/jsp/mes/workOrderManage/orgTree/orgTree.jsp')
    },
    //鼠标单击是显示提示框
    showEvent: "click",
    //鼠标双击是隐藏提示框
    hideEvent: "dblclick"
});
$('#org').click(function() {
	$('#dd').trigger('click');
});

iframe的代码:

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../../../../js/common/commonBootStrap.jsp"%>












	
组织机构

easyui结合ztree做成tooltip样式的下拉框_第1张图片

你可能感兴趣的:(easyui,tooltip,ztree,下拉框)