Hi there,
I am currently trying to get the stock price to display on a webpage and have it refresh every 5 minutes. I am a bit of a newbie to programming so i have been given some sample code and guidelines.
First of all i have the html page:
HTML Code:
<html xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<title>Default</title>
<link rel="stylesheet" type="text/css" href="csse.css" />
<script language="JavaScript" type="text/javascript" src="jse.js"></script>
</head>
<body onLoad="loadPrice()">
<div id="HTMLResults"></div>
</body>
</html>
This is calling a javascript file.
Now i need some help on how to write a javascript function in a seperate file that queries a url that i have been given.
"Please see second post below"
And return and display the symbol and the stock price.
Also how would i go about getting it to refresh every five minutes?
Any help with this would be greatly appreciated.
Cheers for taking the time to read this.
Minty