直接給程式碼如下:
var elem = this, $elem = jQuery(elem);
special. ;
},
var elem = this, $elem = jQuery(elem), clicks = $elem.data > if ( clicks === 3 ) {
clicks = 0;
event.type = "tripleclick" ;
// 讓jQuery 處理「三次點擊」事件處理程序的觸發
jQuery.event.handle.apply(this, argument)
}
} ;
調用時: