Window confirm() Method
Confirm box in javascript with yes no option.
ExampleDisplay a confirmation box:-
confirm("Press yes or no button!");
confirm box in javascript with yes no option minify code