hi all
I must be missing something quite obvious here because something rather strange is happening
I have a bit of js code that goes pretty much like this
setTimeout(myFn(), 20000);
If I m correct when I hit that line, after 20 seconds myFn should run right?
in my case myFn is an ajax call and it happens quite fast ( not at 20seconds and I just dont understand why. Any ideas or pointers?