Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q870, Wednesday September 05, 2007 at 04:50:54

You are here: irt.org | About | Feedback | 4995 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q870

Sent by
Hank on Wednesday September 05, 2007 at 04:50:54

Worth:

Length:

Technical:

Comments:
Consider this function:

function getSearchParameter(name) {

var ls = unescape(window.location.search);
var sp = null;

if (ls.length > 1) {

ls = ls.substring(1);

var pa = ls.split(/\&/);

for (var i in pa) {

var p = pa[i].split(/\=/);

if (p[0].toLowerCase() == name.toLowerCase()) sp = p[1]

}
}

return sp

}





©2018 Martin Webb