Loading ...
Sorry, an error occurred while loading the content.

43124YUI Dialog: Capturing the close event

Expand Messages
  • jsmith200046
    Jan 2, 2009
    • 0 Attachment
      This should be simple, but I just haven't been able to find this in
      the online docs:

      I've created a dialog with:

      var myDialog = new YAHOO.widget.Dialog("mydialog", { modal: true });

      I would like to do some processing if the user clicks the "X" on the
      title bar, but I can't figure out how to get that event.

      Would someone show me how to intercept that event?

    • Show all 5 messages in this topic