如何禁用 jquery 功能.click(function() {
例如,如果用户单击,我需要禁用以下代码.click(function() {
function infinity() {
$.ias({container:'#dle-content',item:'.item_p',pagination:'.page_navigation1',next: 'div#page_navigation1 a:last-child',loader:'<p><center><img src="{THEME}/images/loa$
}
infinity();
我试过的:
$("#pages_navigation").off('infinity');
$("#pages_navigation").unbind('infinity');