Hi
I'm trying to increment a value every second on the client side with jquery
this is what did:
<script type="text/javascript">
$(document).ready(function increment(){
$("#counter").text(parseInt($("#counter").text())+1);
setTimeout(increment(),1000)
})
</script>
this is not working as expected and i get a "too much recursion" error.
any ideas on this?