chrome控制台查看btn_comment_submit控件有没绑定事件
function
lookEvents (elem) {
return
$.data ? $.data( elem,
"events"
, undefined,
true
) : $._data( elem,
"events"
);
}
var
event = lookEvents($(
"#btn_comment_submit"
)[0]);
// 获取绑定的事件
undefined
event.click[0].handler
function
(){
return
commentManager.postComment(),!1} blog-common.js?v=nJDx8UubQZX9VogT9qEbaBjq1TmUREeH09Yin8VSvFo1:475