jquery - How to increment a <span> value by 1 everyday -


i want able increment number value within everyday hit's midnight. i'm assuming use date() , jquery?

here current static code have:

<div class="chart">             <div class="percentage" data-percent="107"><span>107</span></div>             <div class="label">coffees in 2013</div>         </div> 

you need use server side datatime or access time finding region of request (could through ip) machine time javascript could different actual time.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -