JQuery移除事件

移除事件

    unbind(type [,data])     //data是要移除的函数

    $('#btn').unbind("click"); //移除click

    $('#btn').unbind(); //移除所有

posted on 2018-01-03 21:57  关玉珊  阅读(115)  评论(0编辑  收藏  举报

导航