1.htm 頁面
單擊按 '鈕后' 調用window.open方法,開啟新窗口 2.htm
想實現----------------------
在2.htm頁面單擊按鈕 將相應的數據返回到 1.htm頁面上的 textarea 或者 input文件區域中。
function addlx() {
//window.opener.document.getElementById('djzclx').value = id;
window.opener.document.getElementById('tt').value = document.getElementById('kk').value;
window.close();
//parent.$("#djzclx").val(id);
//window.parent.document.getElementById('djzclx').value="id";
//window.location = "sjsRegisterTypeController.do?goAddlx&id="+id;
}