Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 801
  • 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

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

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