Question
pressing the Esc key when using dialog Confirm()
Hello everyone.
var way = confirm(" AAA ?");
if (way) alert("Y")
else alert("N")
When executing the script, it doesn't matter which key is pressed "Esc" or "N". It will still show "N". I want that when I press "Esc", the execution of the script is completed ... Then it will be possible to put three states into such a dialog .. Is it possible ???
