Created
June 20, 2017 20:45
-
-
Save davecra/9d83f43100cd8228717a662675d6c4b2 to your computer and use it in GitHub Desktop.
Demonstrates how to call back to the parent from an Office UI Dialog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Office.initialize = function(reason) { | |
$(document).ready(function () { | |
$("#okButton").click(function() { | |
// notify the parent | |
Office.context.ui.messageParent("My custom message."); | |
}); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment