javascript - Trying to simulate an ajax response in jquery -


I'm trying to use jsFiddle to simulate an AJAX response but I'm getting an undefined value. Does anyone know how to do this? My Bela is here:

Post - text "itemprop =" text ">

You are returning from the callback of $ .jax ( success and error ). Since $ The AJAX method gives you the callback hook, you can get the loginUser function

  loginUser: function (cidVal, midvail, survey, callback) {$. AJAX ({// ... success: function (call) (callback (true);}, error: function (data) {callback (wrong);},}); }   

And then to use that callback, find out when the operation is completed:

  Login user ('foo', 'bar ',' Far ', function (warning);););    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -