Putting the script on the ajax.php file works. But the whole point of it was to use an Ajac script to load with the cTime variable (as its different for each use), but putting the JS in the ajax.php file completely negates the use for Ajax. Anyway around this?
Update: I installed the firefox webdeveloper tool, and it gives the javascript error: "clockUpdate is not defined"
So I guess that its not seeing the Javascript in the page im loading with the Ajax script. Ill try putting the java in the ajax page and see what happens.
I'm making a script to time my breaks at work via web page.
I'm using the "Roll your own ajax" script (google that query to know what im talking about). the timer counts down from cTime which is set in the address bar as a get. the ajax script is supposed to load the page with different cTime...
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.