How do I change the header text on a WebDialogWindow in Javascript.
I have tried this.
var header = oWebDialogWindow.get_header();
header.setCaptionText(hdnSubject.value);
However, it keeps telling me that the header is null.
Did you ever solve this issue? I have the same problem currently...
Yes, here is the code I ad to add.
var oWebDialogWindow = $find('wdwMessages');
oWebDialogWindow.set_windowState(0x0);
oWebDialogWindow._header.setCaptionText('Header Text Here');