Home > Web Front-end > JS Tutorial > body text

js-confirm-confirm cancel dialog box

高洛峰
Release: 2016-12-17 14:22:54
Original
2051 people have browsed it

​​​​true;

            }else {
                              //alert("cancel"); -------------------


if(!window.confirm('All information under this column will be deleted')){
alert("You click Cancel");
return false;
}
alert("You clicked OK");

-------------------------- -----------------------

"onclick="return window.confirm('Do you really want to delete this questionnaire? All data in this questionnaire will be cleared and cannot be recovered!?')">Delete






For more js-confirm-Confirm Cancel Dialog related articles, please pay attention to the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!