Is there anyway to check a PHP $_GET variable in jQuery?
Here is what i mean:
var refreshId = setInterval(function()
{
$('.updatearea').load('main.php<?=$url?> .updatearea');
}, 5000);
I only wanna execute the code above IF (isset($_GET['phpvariable'])
Is that possible?