ajax - JQuery $.ajaxSend() not working in Firefox(33.0) -



ajax - JQuery $.ajaxSend() not working in Firefox(33.0) -

i have:

.............. $(document) .ajaxsend(function () { alert('test'); //for testing in ff switch (flag_mask) { case 0: mask_find_way.hide(); mask_create_way.hide(); mask_load.show(); break; case 1: mask_load.hide(); mask_create_way.hide(); mask_find_way.show(); break; case 2: mask_find_way.hide(); mask_load.hide(); mask_create_way.show(); break; } }).ajaxstop(function () { mask_load.hide(); mask_find_way.hide(); mask_create_way.hide(); }); ..............

i trying jquery 1.8.3, 1.11.1, 2.1.1 , $.ajaxsend() not working in ff(alert not working too)?

working fine:

function preload_mask() { $(document) .ajaxsend(function () { switch (flag_mask) { case 0: mask_find_way.hide(); mask_create_way.hide(); mask_load.show(); break; case 1: mask_load.hide(); mask_create_way.hide(); mask_find_way.show(); break; case 2: mask_find_way.hide(); mask_load.hide(); mask_create_way.show(); break; } }).ajaxstop(function () { mask_load.hide(); mask_find_way.hide(); mask_create_way.hide(); }); } $(window).load(function() { preload_mask(); });

jquery ajax firefox

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -