1、父页面 代码如下: 预览 2、子页面,也就是a.html获取父页面中文本框的value 代码如下: $(function(){
console.info(window.opener.document.getElementById("name").value); }); 这样控制台中出来的则是父页面文本框的值
Don't hurry say have no choice, perhaps, next intersection will meet hope.