jquery - Passing Javascript Parameters Locally on IE -
sorry if terminology off. : ) "windows cannot find file" when browse locally. things messed on number 2. see below:
1: first click on link below
<a href="page.html?parameter_here">test link</a>
2: searches file:
page.html
3: targeted page detects whether or not "parameter_here" exists:
var strreturn = ""; var strhref = location.href; var strquerystring = strhref.substr(strhref.indexof("?")).tolowercase(); var strquerystring2 = strquerystring.split('?'); if (strquerystring2[1] === somenames[x][1]) { alert(somenames[x][0]); }
Comments
Post a Comment