i have div loads counter things such how many posts .etc, want update automatically. using:
function count() { $('#refresh-me').load('stats_counter.php?table=projects'); } var auto_refresh = setinterval(function () { count() }, <?php echo _refresh_interval; ?>); count();
users can add/publish events, , want counter update. think need trigger callback everytime user publishes or adds events update counter. aware things such http://amplifyjs.com/ exist, wondering intuitive , "easy" way of doing this.
Comments
Post a Comment