/ Published in: JavaScript
Simulate the $_GET array from php in javascript to get url parameters this way:
url= http://localhost/?var1=example
$_GET['var1'] will return "example"
Just copy and paste the code.
url= http://localhost/?var1=example
$_GET['var1'] will return "example"
Just copy and paste the code.