23
In the case of failure, the code goes something like:
error: function(msg)
where does the msg come from?
EDIT:
I am using this function ($ajax) to call a WEB SERVICE. So if whoever voted this down could explain to me where msg comes from that would be great! Do I set it in web service? If so, how? Please don't copy and paste the definitions.