toreachdeepak Posted August 7, 2009 Share Posted August 7, 2009 Hi,When I use confirm box, it has two options "OK" and "Cancel".Can I have the three options"Yes", "No" and "Cancel"RegardsDeepak Link to comment Share on other sites More sharing options...
Ingolme Posted August 7, 2009 Share Posted August 7, 2009 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.