jQuery委派事件。大量綁定元素的delegate


當綁定大量click()或hover()的時候

$(). delegate()可以減少記憶體的耗費並提昇綁定的效率

 

可參考文章:http://jsgears.com/thread-402-1-1.html

發表迴響