Javascript setTimeout
<p>Can you tell me why this works:</p>

<pre><code>PageMethods.UpdateForcedDisposition(forcedDisposition, a.value, SucceededCallback, FailedCallback);
</code></pre>

<p>When this doesn’t?</p>

<pre><code>setTimeout("PageMethods.UpdateForcedDisposition(" + forcedDisposition + "," + a.value + ", SucceededCallback, FailedCallback);", 1000);
</code></pre>

<p>Interestingly, a similar call works with <a href="https://developer.mozilla.org/en/window.setTimeout" rel="nofollow"><code>setTimeout</code></a>:</p>

<pre><code>setTimeout("PageMethods.UpdateSales(" + id + ", " + a.value + ", SucceededCallback, FailedCallback);", 1000);
</code></pre>

<p>…I’m stumped!</p>
