jquery add text to a div code example
Example 1: jquery change text of div
$('#dialog_title_span').text("new dialog title");
Example 2: jquery add text to textbox
jquery add text to textbox
$("#id").val(whatever you want to display inside the textbox)