Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 806
  • Last Modified:

"javascript: return confirm('Are you sure ?');"

Hi Experts,
I am using the "javascript: return confirm('Are you sure ?');"
to get the confirmation from user.That is fine.The pop up has buttons 'Ok' and 'Cancel'.
Instead of 'Ok',I want to show 'Yes'.
What should be changed?
0
Johny Bravo
Asked:
Johny Bravo
1 Solution
 
Seo_ExpertCommented:
Hello,

It is not possible to changes the default confirm button in javascript.

Instead i suggestion you can used your custom confirm box.

Below link will help you in custom confirm box.

http://www.codingforums.com/showthread.php?t=2581

Hope this will solve your problem.
0
 
Johny BravoAuthor Commented:
Hmmm well  it need to be modified as if it seems that there is no other way.
Thanks for your comment.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now