Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
var params = this.location.search.substring(1).split('&');
for(var i=0; i<params.length; i++)
alert(params[i]);
var params = this.location.search.substring(1).split('&');
for(var i=0; i<params.length; i++)
[b]if(params[i] != "")[/b]
alert(params[i]);
<html>
<head>
<script>
function redrawMe()
{
var currLoc = this.location.href;
if(currLoc.indexOf('?') > -1)
currLoc = currLoc.substring(0, currLoc.indexOf('?'));
this.location = currLoc + "?name=[b]'Dog Walker'[/b]";
}
function showParam()
{
var params = this.location.search.substring(1).split('&');
for(var i=0; i<params.length; i++)
if(params[i] != "")
alert([b]unescape[/b](params[i]));
}
</script>
</head>
<body onload='showParam();'>
<input type='button' value='redraw' onclick='redrawMe()' />
</body>
</html>