MDN’s new design is in Beta! A sneak peek:

Type: script code
The code in this attribute is called when the "cancel" button is pressed or when the cancelDialog method is called. If the routine returns true, the dialog will indeed go away, but if it returns false it will not.

Document Tags and Contributors

 Contributors to this page: Sheppy, Marsf, Allanbonadio, Dria
 Last updated by: Sheppy,