[PHP/JavaScript] 팝업창 띄우면서 팝업창으로 폼 서브밋하기
라 했을때 //팝업창 띄우면서 폼 전달 function openpop() { openWindow('print_daily.php','popup_print','800','800','yes'); document.frm.target='popup_print'; // 팝업창 윈도우 이름 document.frm.action = 'print_daily.php'; // 팝업창 주소 폼이름.submit(); } // 새창 띄우기 화면의 위치지정 function popWindow(url,name,w,h,top, left) { window.open(url,name,"width="+w+",height="+h+",scrollbars=yes,resizable=no,status=no,top="+top+",left="+left); }..
2014. 8. 29. 00:10