Hi, I am looking to create custom buttons in a warning window. I would like them to say "Disable" and "Cancel" instead of "OK" and cancel
onClick="if(confirm('Would you like to continue?'))
No, there is no cross-browser support for opening the confirmation dialog, which is not the default OK / Cancel pair, but you can build them using JavaScript, for example jQuery Alert Dialogs , jQuery impromptu , Mootools LightFace and many others.
You cannot, as far as I know. The button title is not customizable.
(, , ).
Thereby,
http://www.codeproject.com/Articles/28812/Custom-Alert-Boxes-using-JavaScript-and-the-DOM
Source: https://habr.com/ru/post/1793149/More articles:What is the maximum number of URL parameters that can be added to the exclusion list for Google Analytics - seoHow to install VS2010 installation - visual-studio-2010C #: very fast search and retrieval of objects using any stability model - performanceHow to prevent interpretation of $ in JSP to create jQuery templates - jqueryКак программно сказать, сколько памяти использует приложение iOS? - memory-managementWhat is the shortest code for writing text / image in HWND - c ++Как удалить файлы из нескольких неизвестных папок из одного файла bat? - directoryRails, scope, OR and unions - scopeTeam Foundation Server 2010 branching configuration - tfsNeither connectionDidFinishLoading: nor didFailWithError: get invoked - objective-cAll Articles