https://dev.webpages.dk/ |
|
About Javascript Confirm
How to use Javascript Confirm: A confirmbox is a popup message where you have the possibility to select 'Okay' or 'Cancel'. This give you some possibilities to get input from your users. Let's say if you want to give them a warning, and confirm, the deletion of a file or some database entry. Try the running example to the right. |
|
Icons made by Freepik from www.flaticon.com | This example shows you how to use a JS confirm. With this you have two choices, 'OK' and 'Cancel' and can react to them. |
|