jquery text as object 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();
Example 3: jquery find by innertext
$( "div:contains('innerText')" );