@ExuroOct 30.2004 — #Try this code: [code=php]function getParam(paramName) { var rx = new RegExp("^\?.*"+paramName+"=([^;]+)(;|$)"); var ar = rx.exec(unescape(location.search)); if (ar) { return ar[1]; } else { return null; } } // Set the document's onload function window.onload = function () { alert(getParam("a")); }[/code] If your query string was [FONT=courier new]"?nums=123four"[/FONT] then [FONT=courier new]getParam("nums")[/FONT] would return [FONT=courier new]"123four"[/FONT]. Anyway, I hope that helps!