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 And then to use that callback, find out when the operation is completed: $ .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);},}); }
Login user ('foo', 'bar ',' Far ', function (warning);););
Comments
Post a Comment