PDA

Click to See Complete Forum and Search --> : Javascript confirm function


Peter Brown
May 30th, 2002, 01:02 PM
When using the Javascript CONFIRM() function the buttons labeled are OK and CANCEL.
Is there any way to change these labels, or is there a way of creating a similar function so I can label the buttons in the way I want?

Peter

JoshT
May 30th, 2002, 01:06 PM
I don't think there is - as this is up to the browser, not really even javascript.

CiberTHuG
May 30th, 2002, 01:19 PM
What you can do is create the appearance of a confirmation dialog, using HTML and CSS and lots of JavaScript. This will fail miserably if conditions are not ideal (blind users as an example).