$('#btnAddr').tooltip({ content: $('<div class="table"></div>'), //弹出收件地址 showEvent: 'mouseover', onUpdate: function (cc) { cc.panel({ width: 650, border: false, href: '/Client/ClientAddressInfo?clientID=' + $("#ClientID").val() }); }, onShow: function () { var t = $(this); t.tooltip('tip').unbind().bind('mouseover', function () { t.tooltip('show'); }).bind('mouseleave', function () { t.tooltip('hide'); }); } });
<a href="javascript:void(0)" class="btn"><span class="in"> <input type="button" id="btnAddr" class=" easyui-tooltip" style="width: 80px" value="地址管理" /></span></a>
效果图: