Simple jquery console log

Posted by Kevin Brown on Stack Overflow See other posts from Stack Overflow or by Kevin Brown
Published on 2010-06-15T21:15:18Z Indexed on 2010/06/15 21:22 UTC
Read the original article Hit count: 238

Filed under:

I'm trying to log the change of a value in the console (Firefox/Firefly, mac).

 if(count < 1000)
 {
  count = count+1;
  console.log(count);
  setTimeout("startProgress", 1000);
 }

This is only returning the value 1. It stops after that.

Am I doing something wrong or is there something else affecting this?

© Stack Overflow or respective owner

Related posts about jQuery