In JQuery when should you use .bind() over .click() - or any other given event?

后端 未结 5 1533
离开以前
离开以前 2021-02-08 03:22

I understand the difference between Live and Bind but when should I use use .bind() over a \'standard\' event method as shown below.

Are there any key differ

5条回答
  •  忘掉有多难
    2021-02-08 04:15

    use .bind when you want to bind to "event.namespace"

    Actaully almost always use .bind and almost always use namespaces.

提交回复
热议问题