How do I have a Javascript refresh itself every time the page is called?
Basically I want it to call the text file every time the page is called so I can track how many times the javascript is being used.
Any ideas?
Here is the code:
<script LANGUAGE="JavaScript"src=<script LANGUAGE="JavaScript">
document.write('<font face="arial, helvetica, sans-serif" size="3" color="black"><ul type=on>');
NewsHeadlines.length=8;
for (i= 0;i < NewsHeadlines.length; i++){
document.writeln(NewsHeadlines + "<br>"
; }
var randomnum=Math.random();
document.write(randomnum);
document.write(donotremove);
document.write('</ul></font>');</script>
Basically I want it to call the text file every time the page is called so I can track how many times the javascript is being used.
Any ideas?
Here is the code:
<script LANGUAGE="JavaScript"src=<script LANGUAGE="JavaScript">
document.write('<font face="arial, helvetica, sans-serif" size="3" color="black"><ul type=on>');
NewsHeadlines.length=8;
for (i= 0;i < NewsHeadlines.length; i++){
document.writeln(NewsHeadlines + "<br>"

var randomnum=Math.random();
document.write(randomnum);
document.write(donotremove);
document.write('</ul></font>');</script>