Unbind jQuery even handler

前端 未结 6 772
爱一瞬间的悲伤
爱一瞬间的悲伤 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:07

    There is a bug with bind, unbind and form submit action :

    If you bind then unbind, and you want to submit your form, you cannot use $(form).submit(), BUT $(form INPUT[type=submit]).click() !

提交回复
热议问题