Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
400
How do I Change Header Text in JavaScript
posted

How do I change the header text on a WebDialogWindow in Javascript.

I have tried this.

var oWebDialogWindow = $find('ctl00_CL_ContentPlaceHolder_wpMyAccount_wdwMessages');

var header = oWebDialogWindow.get_header();

header.setCaptionText(hdnSubject.value);

However, it keeps telling me that the header is null.