Editor
Download
Open
Auto Run
<!DOCTYPE html> <html lang="en"> <head> <title>JavaScript Confirm Box</title> </head> <body> <input type="button" onclick="confirm('Are you sure you want to learn next chapter?')" value="Open Confirm Box" /> </body> </html>
Preview