toggle不支持事件代理的解决办法或者 jquery live绑定toggle $(".xxx").live("click", function () { $(this).toggle(function () {},function () {}).trigger('click'); });