弹唱页面
<script>
function dome1(num1, nam1) {
//<!--window的opener属性是获取创建这个页面的页面,-->
var fuYueMian = window.opener;
var p1 = fuYueMian.document.getElementById("id1");
p1.value = num1;
var p2 = fuYueMian.document.getElementById("id2");
p2.value = nam1;
window.close();
}
</script>
提交页面
<script>
function SelectInput(){
window.open('xuanze.html','',"width=400,height=400,top=100,left=200,toolbar=no,scrollbars=yes, resizable=yes,location=no,menubar=no"
)
}
</script>