Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to add a countdown timer on web page and at runtime put my database's field value in it like i have a table Start_time and End_time in db and at code i want to display a countdown if that page open between start date and end date and time shows the left time and decrease by the time dynamically.......... please suggest me how can i do it.
i tried it by the script available at dynamiccode link is http://www.dynamicdrive.com/dynamicindex6/dhtmlcount.htm[^] but i was not succeded to place my data on that script........
var christmas=new cdtime("countdowncontainer2",document.getElementById("<%=lblFullDateTime.ClientID%>").value.ToString())
but it doesn't work for me so help me please......
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900