A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Selecting Default Button in "Confirm" Box!
Joined: Oct 06, 2006
Dec 06, 2006 11:27:00
return confirm('Blah Blah.');
It displays 'OK', 'Cancel' buttons. By default 'Ok' is selected and
upon clicking "Enter" button 'Ok' is fired.
Will it be possible to select 'Cancel' by default. So that when user
clicks 'Enter', 'Cancel' will be triggered?
Author and ninkuma
Joined: Jan 10, 2002
Dec 06, 2006 13:00:00
Asking smart questions
Books by Bear
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Selecting Default Button in "Confirm" Box!
Can I change the buttons in a confirm alert box to 'Yes' , 'No'?
how to create type button in JSF using SUN RI
Confirm box ok/cancel to Yes/No.
confirm() and prompt() functions
OK button in a Form
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015