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.
Hey there, this is for anyone else coming across this post. This seems to work for me in version 10.2: (Just a note, that I had actually set the Caption Text to a default text value in the designer that I changed in the code below)
var
);
dialog._elements[1].innerHTML =
"PD Preferences";