jquery - Creating a dynamic javascript countdown timer -


i'm looking create dynamic javascript countdown timer, want pass datetime variable sql server database , have count down date display message, i've tried every jquery plugin can find , havent been able edit them need, need able have multiple countdown timers on same page,

any appriciated

cheers

scott

=======edit=======

after trial , error able modify js http://andrewu.co.uk/clj/countdown/pro/

to needed

try this:

function thick(startin) {   startin--;   document.getelementbyid('timer').innerhtml = startin;   if(startin > 0) settimeout('thick(' + startin + ')', 1000); } 

call function in body onload like:

<body onload="thick(20);"> 

hope :)


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -