jquery add text in div code example
Example 1: jquery change text of div
$('#dialog_title_span').text("new dialog title");
Example 2: jquery append text to div
$( "#divId" ).append( "<p>Test</p>" );
Example 3: jquery get element innertext
const copiedText = $('#element').text();
Example 4: jquery add text to textbox
jquery add text to textbox
$("#id").val(whatever you want to display inside the textbox)