Does AJAX work?

Hello,

I’m trying to implement a simple “reaction” system to my news feed based web app hosted here. What I’m doing is calling a JS function once the user clicks a button, this function creates an XMLHttpRequest object which requests a PHP script that handles the database queries and echoes some JSON back as a response text. But apparently the XMLHttpRequest never gets a response. Does AJAX work in this hosting platform?

Yes, as long as the script doesn’t violate the TOS

AJAX should work in the free hosting as long as it is not for chat scripts.

There is nothing which should block AJAX, if implemented properly. What exactly do you see?

AJAX is Client side based and only sends requests to the server. It should work fine.

Best regards,

Alan T.