how to get the text in a div jquery code example
Example 1: jquery change text of div
$('#dialog_title_span').text("new dialog title");
Example 2: jquery get element innertext
const copiedText = $('#element').text();
$('#dialog_title_span').text("new dialog title");
const copiedText = $('#element').text();