Learn, Share, Build

194
October 09, 2017, at 02:00 AM

There is not a lot of info about this on google and what is this? And how can I spot a textStatus in jQuery AJAX? Can any one give me a textStatus example in jQuery AJAX? And tell me with your code example where the textStatus is located at in your code example. In your own words. No links etc...

Answer 1

this is the answer from the official jQuery Documentation (see the bolded string) :

complete
Type: Function( jqXHR jqXHR, String textStatus )
A function to be called when the request finishes (after success and error callbacks are executed).
The function gets passed two arguments: The jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object and a string (TextStatus) categorizing the status of the request ("success", "notmodified", "nocontent", "error", "timeout", "abort", or "parsererror"). As of jQuery 1.5, the complete setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event.

Rent Charter Buses Company
READ ALSO
Learn, Share, Build

Learn, Share, Build

Im trying to activate or highlight the text area, when you put the cursor over itWhere am i Going wrong?

205
Learn, Share, Build

Learn, Share, Build

This may as well be a duplicate but I can't find a working example where i can change the class of a button on a fixed nav bar once a certain div has hit the bottom of this nav barI can easly implement it when a div has hit the top of the view point but not at the bottom...

267
Learn, Share, Build

Learn, Share, Build

I'm unable to use slick carousel on Shopify theme (http://kenwheelergithub

255
Learn, Share, Build

Learn, Share, Build

I have added jQuery to my angular 4 project, but I am having trouble using scripts designed to use jQuery

233