<script>
  if (confirm("명령 실행") == true){    //확인 
      alert("명령실행"); 
  } 
  else{   //취소 
      alert("명령취소"); 
  } 
</script>

'Programming > JavaScript' 카테고리의 다른 글

자바스크립트 경고창 alert  (0) 2020.03.19

+ Recent posts