Jump to content

User Defined Confirm Box


toreachdeepak
 Share

Recommended Posts

No, but with logic, you can get the same result with two confirm boxes:

var X = confirm("Are you sure?");if(X) X = confirm("Press 'OK' to accept changes and 'Cancel' to discard them.");

The other option is building one with <div> elements and some buttons and using Javascript to make it appear.

Edited by Ingolme
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...