$.get call not working

KenHorse

Member
The python script works fine and should return HTML. I don't see the output of the python script on the calling HTML page.


Code:
<HEAD>

<link rel="stylesheet" type="text/css" href="stylesheet.css">
</HEAD>
<body style="text-align:center" onload="myFunction()">
<H3>Your firmware is being loaded. Please standby......</H3>

<img src = "images/ajax-loader.gif">
</body>

<script  src="jquery.js"></script>
<script>
function myFunction() {	 
	$.get("webupdater.py", function(data));
	document.write("Data: " + data);	
}
</script>
 
Do you see any errors in the Console, and can you see the call being made in the Network tab?
 
Back
Top