My jquery call is as below on textbox.I want to prevent ajaxStart() on this selector
$("#ddl_select").keyup(function() { var searchid = $(this).val(); var dataString = 'search='+ searchid; if(searchid!='') { $.ajax({ type: "POST", url: "searchname.php", data: dataString, cache: false, success: function(html) { $("#result").html(html).show(); } }); } }); I want to prevent ajaxStart() method in above selector.
ajaxStart() code as below
jQuery(document).ajaxStart(function () { //show ajax indicator ajaxindicatorstart(); }).ajaxStop(function () { //hide ajax indicator ajaxindicatorstop(); }); Only prevent ajaxStart Method but whole function works as it as.
can anybody help me...
jQuery(document).not('#ddl_select').ajaxStart(function ()?