Hello,

kok nae-ga ha-myun an-dweneun MAGIC...🧚

웹 프로그래밍

[ JS ] Confirm 확인창

✿도담도담 2019. 4. 22. 21:39

자바스크립트 중 의사를 묻는 confirm 

boolean 형식의 return 값을 가지고 있다 :)

 

var result = confirm('알림 문장');

if( result )

{

    // yes 

}

else

{

    // no

}