Here's a simple sample to see that it works:
DebugQuery.html simply shows the query string:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Simple Querystring Debugging</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Just a simple check for the query string!</br>
</body>
<script type="text/javascript">
document.write("<b>Querystring:</b> " + document.location.search);
</script>
</html>
ReadOnly.html contains the small test HTML markup:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body onload="init();">
<form id="testForm" method="GET" action="./DebugQuery.html">
<input ID="test" NAME="realname" VALUE="Hi There" READONLY>
<input ID="submit" type="submit" name="submit" value="Send!">
</form>
<input ID="doit" type="button" NAME="doIt" VALUE="Set to 10!" onclick="doIt();">
</body>
<script type="text/javascript">
function init()
{
var test = document.getElementById("test");
test.value = "0";
}
function doIt()
{
var element = document.getElementById("test");
element.value = 10;
}
</script>
</html>
Regards,
Manfred