jquery replace div text code example
Example 1: jquery change text of div
$('#dialog_title_span').text("new dialog title");
Example 2: jquery replace text in div
$('#one span').text('Hi I am replace');
$('#dialog_title_span').text("new dialog title");
$('#one span').text('Hi I am replace');