Cubsy
01-06-2004, 01:47 AM
So basically I need to be able to have a single cell in my html page constantly be updated. I could use an inline frame but that makes me feel kind of dirty.
I think the only way is to have an outside file that is constantly changing and set a timer to pull its contents every 500 ms or so. This is where I run into my problem.
I know how to use the <script src=blah.js></script> but so far as I know that can only be pulled once. If blah.js changes the page wont get the changes until a refresh. Is there someway to pull in an outside file mid function?
FYI. Any clean solution will work, I am experienced in php and do not fear cgi/bin scripts. The info is in a mysql database and I have had little experience with javascript.
Thanks in advance
I think the only way is to have an outside file that is constantly changing and set a timer to pull its contents every 500 ms or so. This is where I run into my problem.
I know how to use the <script src=blah.js></script> but so far as I know that can only be pulled once. If blah.js changes the page wont get the changes until a refresh. Is there someway to pull in an outside file mid function?
FYI. Any clean solution will work, I am experienced in php and do not fear cgi/bin scripts. The info is in a mysql database and I have had little experience with javascript.
Thanks in advance