* 확인 버튼이 있는 대화상자를 엽니다.
<SCRIPT LANGUAGE="JavaScript">
<!--
function event1() {
.......if( confirm("확인(Yes), 취소(No) 버튼이 있는 대화상자") ) {
....... .......location.href="http://www.1day.co.kr";
.......} else {
....... .......location.href="http://www.1day.co.kr/index.html";
.......}
}
//-->
</SCRIPT>
<input type=button value=":: 확인 버튼대화상자 ::" onclick="event1();">


0 분
8 분













