if i use the setTimeout() function in Javascript, the script dont wait the exact time to trigger the code.
here is an example:
setTimeout(function(){ alert(''); }, 15000);
Sometimes the alertbox get executed after 13-14 seconds, and sometimes after 16-17 seconds.
why is it so and what can you do about it?