Forum Moderators: open
Error: 'request' is Undefined.
-----------------------
[localhost...]
var QueryVariable = new String(request.querystring("c"));
if ((require_class == "Y") && (QueryVariable!= 0)) {
}
What you want is location.search . You can't refer to each of the items that may be in the querystring by name
(as in vb: Request.Querystring("ThingsName") returns the value of "ThingsValue" from foo.com/mypage.htm?ThingsName=ThingsValue.
You'll need to do some string handling to get the values you want; look up split() and substring() to get started.