Are zero length timers still necessary in jQuery?
<p>I am finally getting around to really implementing some jQuery solutions for my apps (which is seeming to also involve a crash course in javascript).</p>

<p>In studying examples of plugins, I ran across this code. I'm assuming the author created the zero length timer to create some seperation of the running code, so that the init functon would finish quickly.</p>

<pre><code>function hovertipInit() {

  var hovertipConfig = {'attribute':'hovertip',
                        'showDelay': 300,
                        'hideDelay': 700};

  var hovertipSelect = 'div.hovertip';


  window.setTimeout(function() {
    $(hovertipSelect).hovertipActivate(hovertipConfig,
                                       targetSelectById,
                                       hovertipPrepare,
                                       hovertipTargetPrepare);
  }, 0);

}
</code></pre>

<p>Is needing this type of seperation common? <br/>
Is creating the zero length timer still the best way to handle this situation, or is there a better to to handle this in jQuery?<br/> </p>

<p>Thanks,<br/>
Jim</p>
