확인 문구창을 띄운 뒤, 확인을 누르면 함수를 실행하는 구문이다. Button 예시. Button function saveAndSubmit(event){ alert('saveAndSubmit called !'); } 참고. https://stackoverflow.com/questions/32394684/how-to-confirm-and-call-function-with-onclick https://stackoverflow.com/questions/43672682/return-confirm-call-function-if-yes/43672768