JavaScript confirm
JavaScript confirm Summary: in this tutorial, you will learn how to display a confirmation dialog by using the JavaScript confirm() method. Introduction to JavaScript confirm() method To invoke a dialog with a question and two buttons OK and Cancel, you use the confirm() method of the window object: let result = window.confirm(question); Code language: JavaScript…
Read more