我不明白什么是你对取消绑定在这里点..
$(".content_media").unbind("touchstart").live("touchstart",function(){....});
好,如果你有功能fn1
,然后你把它作为,
$(".content_media").live("touchstart",fn1);
然后在某些点,你想用fn2
而不是fn1
之类的,
$(".content_media").live("touchstart",fn2);
那你先打个电话先解决吧...除去fn1
$(".content_media").unbind("touchstart").live("touchstart",fn2);
,但如果你只是想fn1
那么你没有真正解除绑定使用...
编辑
如果你为什么这样做的原因是因为你叫这条线,
$(".content_media").unbind("touchstart").live("touchstart",function(){....});
在每一个ajax执行......那么,证明它... 但你做了错误的方式....
只是把它放在外面AJAX执行并没有取消绑定,那么你是好去...
$(".content_media").live("touchstart",function(){....});