Skip to content

Instantly share code, notes, and snippets.

@cotto
Created July 5, 2014 01:08
Show Gist options
  • Save cotto/dbb1234be91196ba0362 to your computer and use it in GitHub Desktop.
Save cotto/dbb1234be91196ba0362 to your computer and use it in GitHub Desktop.
auto update the mayday.us counter
function u(){jQuery.getJSON('https://pledge.mayday.us/r/total', function(data) {updateTotal(data.totalCents);}); setTimeout(u,5000) }; u();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment