Hi,
Can anyone find why this setTimeout() loop isn't working - I'm getting:
'data_to_send' is undefined
Any help much appreciated, thanks.
BTW, ajax.js contains my handling for creating the XMLHttpRequest, called createRequest().
<html>
<head>
<script src="ajax.js"...
Hi,
I'm stuck, but it's almost working!
From a html page, my javascript calls a server-side php script. The php reads a value from a server-side .txt file and passes it back as a javascript variable. This all works fine.
However, I want it to loop within a javascript function every 5...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.