0
您好,我試圖在動畫完成後解除綁定事件,並且不想在該容器上觸發該事件。我的方法容器上的jquery動畫,然後解除綁定事件
$('#container').on('mouseover.grow', function(){
$(this).parents('.secondary').animate({height:'360'},1000);
}).off('mouseover.grow');
但是,這種方法似乎並不像工作。任何指針,我在這裏失蹤將不勝感激...
謝謝!好像我在錯誤的地方取消了。 – paul 2013-03-14 23:05:08