use jqyery to change div text value code example
Example 1: jquery change text of div
$('#dialog_title_span').text("new dialog title");
Example 2: change p text jqwuery
.text("new text")
$('#dialog_title_span').text("new dialog title");
.text("new text")