My jquery call is given below in the text box. I want to prevent ajaxStart () for 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 the method ajaxStart()in the selector above.
ajaxStart () as below
jQuery(document).ajaxStart(function () {
ajaxindicatorstart();
}).ajaxStop(function () {
ajaxindicatorstop();
});
Only to prevent the use of the ajaxStart method, but the whole function works like.
Can anyone help me ...
user5005351
source
share