By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,384 Members | 1,886 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,384 IT Pros & Developers. It's quick & easy.

window.confirm and return key

P: 1
Is there a way to make window.confirm default to the Cancel button instead of the OK button? If so, what is it? If not, is there a way to disable the use of the return key?

Thanks for any help at all.
Sep 14 '06 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
No, there isn't unless you write a DHTML version which may not be completely modal.

What I suggest is that you rephrase the question to make OK the required default.
May 13 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.