window.confirm and return key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • suzy
    New Member
    • Sep 2006
    • 1

    window.confirm and return key

    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.
    Suzy
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    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.

    Comment

    Working...