test.html
<!DOCTYPE html>
<html>
<body>
<script type="text/javascript">
myWindow=window.open('file:///C:/Users/lwx194182/Desktop/test/test1.html','_blank','width=800,height=800');
//myWindow.document.write("This is 'myWindow'");
var aa=myWindow.document.getElementById("qw").value;
myWindow.focus();
alert(aa);
</script>
</body>
</html>
===================================
test1.html
<!DOCTYPE html>
<html>
<head>
<title>test1</title>
</head>
<body>
<input id="qw" type="text" value="sdf"/>
<script type="text/javascript">
var aa=document.getElementById("qw").value;
alert(aa);
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<script type="text/javascript">
myWindow=window.open('file:///C:/Users/lwx194182/Desktop/test/test1.html','_blank','width=800,height=800');
//myWindow.document.write("This is 'myWindow'");
var aa=myWindow.document.getElementById("qw").value;
myWindow.focus();
alert(aa);
</script>
</body>
</html>
===================================
test1.html
<!DOCTYPE html>
<html>
<head>
<title>test1</title>
</head>
<body>
<input id="qw" type="text" value="sdf"/>
<script type="text/javascript">
var aa=document.getElementById("qw").value;
alert(aa);
</script>
</body>
</html>