Hard to say, it might be your server. In any case, your code is probably IE specific, with its use of 'document.all' and employs the window.open() method in a shorthand sort of way that could be trouble. Another thing is that when passing info between windows, browsers can get pretty picky about just what refers to what. Just playing around, this scheme worked in IE, Opera and FF on one of my servers as well as locally and could be expanded to accommodate any number of variables. ONLY problem is, it REQUIRES javascript (PHP is generally better for this sort of thing):
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<!-- saved from url=(0014)about:internet -->
<!-- this and above comment should be removed for live, non-demo use -->
<head>
<title>page1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
function openPopup(){
var txt = document.getElementById('txtParam');
window.passed1 = txt.value;
var popup = window.open('page2.htm', 'page2', 'width=400, height=300');
}
</script>
</head>
<body>
Paramater :   <input id="txtParam" type="text">
<input id='button1' type='button' value='Open' onclick="openPopup();">
</body>
</html>
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<!-- saved from url=(0014)about:internet -->
<!-- this and above comment should be removed for live, non-demo use -->
<head>
<title>page2</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
onload=function(){
document.getElementById('txtReceive').innerHTML=opener.passed1;
}
</script>
</head>
<body>
<table border="1" width="100%" id="table1">
<tr>
<td width="179">Receive Parameter:</td>
<td id='txtReceive'> </td>
</tr>
</table>
</body>
</html>
Bookmarks