The Difference Between jQuery』s .bind(), .live(), and .delegate()

西方不夠好的朋友可以看這篇譯文《jQuery的.bind()、.live()和.delegate()之間的區別》。這篇文章詳細的比較了bind(),live()以及delegate()的區別。以及作者為什麼推薦用delegate()。

3 Responses to The Difference Between jQuery』s .bind(), .live(), and .delegate()

  1. Chris says:

    用 bind 可以減少代碼量, 可以無顧忌地 stopPropagation, 所以還是根據需求決定

    話說在 chrome 你的 blog 亂掉了
    http://www.box.net/shared/c3b727m57e

  2. 任平生 says:

    站得遠遠的也木看明白注釋中的字元是什麼 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *