使用chrome dev工具查看节点上的侦听器给我带来了麻烦。它似乎没有检测到我动态加载的内容上的监听器(不过,不幸的是,我没有在小提琴中重现它)。但是,它不注册由jQuery委托的事件。div mouse'd over via jQuery"); //does not show up in Event Listeners pane
//attach listener from ajaxurl: "/echo/html
我有一个事件:this.show.onclick = this.sendData.bind(this);bindEvents: function() {var that = this;
this.show.onclick = this.sendData.bind(this);
this.showErrorDiv("Please select a new date