Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.
dlgtype
Type: one of the values below
The dialog type of the button, used only when the button is in a dialog box. You can use this feature to replace the standard dialog box buttons with custom buttons, yet the dialog event methods will still function. For example, if the dlgType is set to accept, the button will replace the dialog box's accept button, which is usually labeled OK. Using this attribute on a button that is not in a dialog box has no effect. The following values can be used as the dialog type:
accept
The OK button, which will accept the changes when pressed.
cancel
The cancel button which will cancel the operation.
help
A help button for displaying help about the dialog.
disclosure
A button to show more information. This might be a button or a disclosure triangle.
extra1
An optional additional button.
extra2
A second optional additional button.

Document Tags and Contributors

 Contributors to this page: Sheppy, pippijn, madarche, Red_Serratia, Marsf, Mgjbot, Enn, Ptak82, Dria
 Last updated by: Sheppy,