// Window confirm() Method if (!confirm("Подтвердить удаление?")) { return; } // http://www.w3schools.com/jsref/met_win_confirm.asp