How to get data from an url with Javascript front?
<p>I want to write a javascript-based front, which can get data from an external url and display them in the page. Is there any sample code? Thank you.</p>

<p>The server side has a python script, which can generate some data result. I need to get the data and display them. I may need jQuery to make a query to the server, but I don't know how to do it. </p>

<p>I would like to have a button, after I click the botton, it can generate the query which can get the data from the server and display it in the page.</p>

<p>To be brief, The front is javascript and the back is python. I need to make a query from the front to the back and run the python, then I can get some data. Then I need to display the data on the page.</p>
