Solved

Change the buttons of confirm() dialog

Posted on 2003-10-29
2
2,830 Views
Last Modified: 2012-06-27
Hi,

Is it possible to change the text on the OK and Cancel buttons of confirm(). In my webapplication the user can change the language. I also want the buttons of confirm to change. I think it is impossible or very difficult, but maybe there are other solutions. I'm thinking of diplaying a window that looks like a confirm dialog. Somebody knows where i can find something like this or are there other solutions?

Didier
0
Comment
Question by:DidierD
2 Comments
 
LVL 29

Accepted Solution

by:
David H.H.Lee earned 200 total points
ID: 9640304
0
 
LVL 2

Author Comment

by:DidierD
ID: 9640727
x_com,

Thanks for the links.
I already have examples of how to do it this way, but i was hoping i could find a ready example of a confirm() dialog. With different text on the buttons. With the vbscript link it is not possible. Well it doesn't look that difficult, i maybe better try it myself.
If nobody else comes with a better solution, you can have the points.

Regards
Didier
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CORS Error from Chrome, but FireFox is OK 1 80
Javascript 2 22
Can anyone see what is the fault in my javascript code? 8 28
Visual Studio npm 1 11
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question