Its not very pretty but it gets the job done. To know more about him click here. Global callback functions are useful when you wish to perform some common task for all the Ajax requests being issued from the page. lover of media, art, and fake mustaches." } ] } It's important to remember that JSON is a string representation of an object — the string must be parsed into an have a peek here
Default is "application/x-www-form-urlencoded; charset=UTF-8", which is fine for most cases. If the server performs HTTP authentication before providing a response, the user name and password pair can be sent via the username and password options. Example Following is a simple example a simple showing the usage of this method.