Example of Customization in Javascript Predefined Dialogs Control


This example demonstrates how to customize the content of the predefined Alert, Confirm and Prompt dialogs. Three buttons have been added to this example, click one of them to open the relevant dialog box.

More Details...


The predefined dialog is used to display messages such as supplemental content like graphics, text, and interactive content like form components within a web page. It can use the content property to load customized content. The content property accepts both string and HTML elements as content. See also Customization of predefined dialogs