I am completely confused by the following behaviour in Flask. I am sure there is something basic going on but I don\'t know if this is a script or a server issue, so I posted th
The browser will not render the response from XmlHttpRequest unless you tell the browser via JS to do so. I suggest you take a look at the 'Development Tools' of your browser and check under the Network tab. You will see your XHR's response in there but it will not replace the content or your browser.