你是想div在show的时候触发事件吗?如果是的话你可以变相解决 $(document).ready(function(){ $("#divID").show(function(){ alert("completed"); }); });