I used an AJAX function recursively in my code and then run it. It works fine on internet explorer and Firefox while using Chrome; it shows AJAX internal server error.
What could be the possible cause for this error?
Learn About Ajax Internal Server Error In Brief
The 500 (internal server error) implies that something is wrong on the server’s side. It could mean several things, but I will start by verifying that URL and parameters in the URL are correct. Also, ensure that whatever handles your request is expecting the request as GET and not as a POST.
One way to know more about what’s the issue is to use a tool such as Fiddler which will let you examine all requests and responses.