Before I satart, allow me to explain a situation.
I have an html(say A.html) page where I get information from a form. I send the data to a php page (say B.php).
B.php processes the form and echo a string on screen.
A javascript page (Say C.js) needs to send an HTTP request to B.php and read what has been echoed.
Is such a thing even possible? I searched a lot and no explanation.