开发者

Jquery: Unbind event handlers to bind again later

I have to turn off the blo开发者_如何学Gock and then turn it on again, do so

event = $('#left_scroll').data('events');
$('#left_scroll').unbind();
$('#left_scroll').bind(event);

does not work, why ?


It should work as expected, most probably you have an error somewhere else in your code. Check working example here http://jsfiddle.net/VfJhd/4/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜