Leira Posted February 17, 2021 Share Posted February 17, 2021 I have a requirement to change the OK and Cancel buttons in the javascript Confirm() function to Proceed and Return to Page. Does anyone know how to change those 2 buttons. Thanks in advance. Link to comment Share on other sites More sharing options...
Ingolme Posted February 18, 2021 Share Posted February 18, 2021 It can't be done. Most people build dialog boxes and buttons using HTML elements in order to change its content and appearance. There's an example of something like this on W3Schools: https://www.w3schools.com/howto/howto_css_delete_modal.asp You can assign events to the buttons using Javascript and change the appearance using CSS. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now