Unbind jQuery even handler

前端 未结 6 769
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-19 04:38

I try to answer this question a few minutes ago and prepared this example for myself :



        
6条回答
  •  星月不相逢
    2020-12-19 05:04

    I ran into a similar issue before. What I concluded was that you can only unbind a method you have binded. Since trialmethod() was NOT binded through jquery, calling unbind on the method wouldnt work.

    Please let us know if you figure it out by any chance.

    Thanks.

提交回复
热议问题