Created
April 27, 2011 11:25
-
-
Save emedina/944081 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
//<![CDATA[ | |
// Initialize a new counter | |
var myCounter; | |
var urlCounter = "/cuestamenos/counter"; | |
jQuery.ajax({type:'POST', url:urlCounter,success:function(data,textStatus){ myCounter = new flipCounter('thecounter', {value: data, auto:false}); },error:function(XMLHttpRequest,textStatus,errorThrown){}}); | |
//]]> | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment