I know very little about Javascript..
It's for a countdown script.
As far as I can tell, the javascript gets the 'today date and time' somehow (from the user's system).
But I want to modify it so that it gets the server time (using php date).
So I'll need to create a php variable and then add it to the javascript.(?) How do I do this?
here's some of the script:
...
Search Result
Collapse
3 results in 0.0034 seconds.
Keywords
Members
Tags
-
Can I use a php variable on javascript?
-
How to stop this timer?
Hi,
I want to stop the timeout of a site with this source (attached)
Plaese help me.
It may have two counter i want to stop the second one or all of them.
thanx for your helps.... -
JavaScript Counter Error
Long story short, I'm making an online test to help prepare some buddies for an online math test. The test is timed and so I am trying to put in a counter to count down to zero. My code looks like this:
Code:function clock() { if (document.clock.display.value>0){ setTimeout("clock()",60); document.clock.display.value = document.clock.display.value - 1; document.clock.display.write("document.clock.display.value");