Page 1 of 1

change dialog title

Posted: 08 Jul 2016
by Gerald Marxer
I tried to change the dialog title with following jquery/javascript code:


$('#dialogTitleSpan').text('My new dialog tilte');


What is the problem ?

Re: change dialog title

Posted: 08 Jul 2016
by Dmitry Kozlov
Hi Gerald,

Try this:

Code: Select all

$('#dialogTitleSpan', window.parent.document).bind('DOMSubtreeModified', function(){
	$('#dialogTitleSpan', window.parent.document).html('My new dialog tilte');
});