how to give variable into window.location
<p>I have a javascript which I need to give a variable. I cannot figure it out, it is not working. Anyone that can help ? </p>

<p>Thanks</p>

<pre><code>window.location('&lt;?php echo "edit_expedite.php?id=$id"?&gt;');
</code></pre>