<!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR">
<title>Insert title here</title>
</head>
<body>
<p id=target>target</p>
<input type=button value=pop id=pop>
<script type="text/javascript">
document.getElementById("pop").onclick = function(){
window.open("exam08.html","","width=300,height=200");
}
</script>
</body>
</html>
//////////////////////////////
<!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR">
<title>Insert title here</title>
</head>
<body>
<p id=target>target</p>
<input type=button value=pop id=pop>
<script type="text/javascript">
document.getElementById("pop").onclick = function(){
window.open("exam08.html","","width=300,height=200");
}
</script>
</body>
</html>
'JAVA 개발 공부 정보' 카테고리의 다른 글
[개발교육] 자바 jsp 기초 - 8(InputHtml) (0) | 2018.01.15 |
---|---|
[개발교육] 자바 jsp 기초 - 7(스크립트 이벤트 처리) (0) | 2018.01.15 |
[개발교육] 자바 jsp 기초 - 5(인라인스크립트, 링크 합계 팝업) (0) | 2018.01.15 |
[개발교육] 자바 jsp 기초 - 4(합계구하기) (0) | 2018.01.15 |
[개발교육] 자바 jsp 기초 -3 (0) | 2018.01.15 |