Performance difference between jQuery's .live('click', fn) and .click(fn)

前端 未结 2 798
故里飘歌
故里飘歌 2020-11-29 05:16

I love the new live event in jQuery 1.3. The question I have is the performance of this event. I know the advantages of using live over click/bind(\'click\') but is there

2条回答
  •  不知归路
    2020-11-29 05:57

    See this.

    As for why you would ever use click or bind instead of live, the answer is because you don't need the extra functionality.

提交回复
热议问题