To test on the usage, save below page as locationsearch.htm. To see the result, add querystring to the page called: locationsearch.htm?p=testing&l=javascript
<html>
<head>
<script language="JavaScript">
function onload()
{
alert(window.location.search);
}
</script>
</head>
<body onLoad="onload()">
</body>
</html>

No comments:
Post a Comment