Check a PHP $_GET variable inside jQuery
<p>Is there anyway to check a PHP $_GET variable in jQuery?</p>

<p>Here is what i mean:</p>

<pre><code>var refreshId = setInterval(function()
{
$('.updatearea').load('main.php&lt;?=$url?&gt; .updatearea');
}, 5000);
</code></pre>

<p>I only wanna execute the code above IF (isset($_GET['phpvariable'])</p>

<p>Is that possible?</p>
