Appendix P. Dialog
Method | Description | Return Value |
---|---|---|
Dialog Methods | ||
| Makes the selected elements into dialog boxes. | jQuery |
| Opens the specified dialog box(es). | jQuery |
| Determines if the dialog is open. | Boolean |
| Moves the specified dialog on top of the dialogs stack. | jQuery |
| Closes the specified dialog box(es). | jQuery |
| Completely removes the dialog. | jQuery |
Dialog Options
Option | Description | Type |
---|---|---|
| When set to | Boolean |
| When | Boolean |
| Specifies which buttons should be displayed on the dialog. The property key is the text of the button. The value is the callback function for when the button is clicked. The context of the callback is the dialog element; if you need access to the button, it is available as the target of the | Object |
| The specified class name(s) will be added to the dialog, for additional styling. | String |
| When set to | Boolean |
| The height of the dialog, ... |
Get Beginning JavaScript® and CSS Development with jQuery now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.