Hello,
there is no availbale function to set up the title dynamically.
I have a dialog prepared and not visible, than im loading dynamically content into it by my function, and i need to set title as well, but i cant.
I tried to add id to title div in html template of the dialog and acces it than, but it doesnt work ass well.
function showModal( mwindow, title,template){
mwindow.title = title; // this is not working ... shure its not, but how
mwindow.setHref(template);
mwindow.show();
return false;
}
Anny ideas please
Mike
try dialog.titleNode.innerHTML
Try dialog.titleNode.innerHTML = 'new title';
titleNode is a dojoAttachPoint, specified in dialog templateString in dijit\Dialog.js. It returns you object.
Thank you, it works fine :)
Thank you, it works fine :)