title: Why setTimeout() function runs only once?
body: <p>I am making a javascript bookmarklet that resizes all images, periodically.</p>
  
  <pre><code>javascript: function x(){
      for(i=0;i&lt;=document.getElementsByTagName('img').length;i++)
          document.getElementsByTagName('img')[i].width+=1;
  };
  t = window.setTimeout("x()",100);
  void(0);
  </code></pre>
  
  <p>But it runs only once. What is the problem here??</p>