var p = $("#x").dialog({ title: "", onLoad: function(){ //autocomplete 的代码写这里 $("#dept1",p).autocomplete(xxxxx) }});
我猜是你的td元素 overflow 的时候设置了hidden