NameSilo

A Javascript timer to trigger a PHP script

Spaceship Spaceship
Watch

Submerged

New Member
Impact
0
Hi, my name is Alex, I'm working on a site, but there is one script that I have no clue how to do. I mostly work with PHP, Javascipt is pretty alien to me.

Basically, when the scripts loads, I need to display a timer that counts down from 60 seconds. Then, when it hits 0, I need to run a little PHP script to display some random numbers (the script to write the numbers I can handle, I just need the script to be triggered after the timer runs out). It would be awesome if, when the timer hit 0, the timer disappeared, so the numbers would appear in it's place, but ill be fine without it.
I dont know how tough that is, but if someone could help me a bit with the script I would be very grateful

Thanks for your time,
-Alex (Submerged)
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back