I'm trying to load the html url variables such as id and sid into javascript. For example in php it would be done via
<?php require_once("test.php?id=".$_GET['id']."&?sdi=".$_GEt['sid']) ?>
What would be the Javascrit / Ajax alternative?
I'm trying to load the html url variables such as id and sid into javascript. For example in php it would be done via
<?php require_once("test.php?id=".$_GET['id']."&?sdi=".$_GEt['sid']) ?>
What would be the Javascrit / Ajax alternative?