views:

16

answers:

1

when i send json. it may be have something wrong. server does not accept request and give error 500 even i seding a json he return a error page in json. how i can check that i have 500 error in json when as result after my json is gone to server.

how i can check that server return 500 error i am talking about .NET

+1  A: 

according to the docu

error(XMLHttpRequest, textStatus, errorThrown)

docu

and you need the enum-members of textStatus, which can be found here

Andreas Niedermair