PK8AE
form에서 팝업창으로 value 전송 본문
<script>
function pop_up_post()
{
window.open("", "mypop", "width=850, height=650, scrollbars=yes");
document.diagram.action = "123.php";
document.diagram.target = "mypop";
document.diagram.submit();
}
</script>
<form name="diagram" method="post" >
<input type="hidden" name="st_code" value="13">
<input type="button" value="ok" onclick="javascript:pop_up_post();">
</form>
'etc' 카테고리의 다른 글
즐겨찾기 추가 (0) | 2017.11.16 |
---|---|
‘…’을 CSS에서 처리하는 방법 (0) | 2017.01.09 |
[javascript] 자식창 닫고 부모창 새로고침 (0) | 2016.11.01 |
Comments