Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2007
    Location
    Andhra Pradesh, India
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    how to change OK button value i Confirm message

    Hi!!
    Can we change the OK button value in a Confirm message box in Java Script? I have a checkbox and when i click on that checkbox I need to display an alert message with 2 options like 'Redilate' and 'Send' instead of 'OK' and 'Cancel'. is this possible in java script???

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    There is no way to change the design of the alert/or conform messages.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,982
    Thanks
    203
    Thanked 2,536 Times in 2,514 Posts
    As Kor says, it is not possible to alter the appearance of the alert/confirm/prompt boxes, but it is possible to create customised substitutes.

    See e.g.

    confirm() yes/no


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •