JavaScript: How to select “Cancel” by default in confirm box?
You can’t do that, but you could use/write your own dialog which is displayed using DOM elements (like phoenix suggested, it just doesn’t have to be that particular jQuery plugin, you could write your own or use plugin from another JS framework). The “use jQuery + plugin X” answers are starting to get annoying. There … Read more