Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set focus to "Cancel" when using confirm()

Status
Not open for further replies.

sdidomenico

Programmer
Sep 26, 2003
34
0
0
US
Hello,

Is there a way to change the button focus when using
confirm()? In some cases, I would rather have it set the focus on the "Cancel" button rather than the "OK" button.

Thanks in advance for your time,

Steve DiDomenico
Nashua, NH
 
...or cleverly word you confirm-question so that YES is NO and NO is YES. E.g., "Press 'OK' to Cancel." Not too helpful, I know. It's Saturday!

--Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top