how to set text in a div with jquery code example Example: jquery change text of div $('#dialog_title_span').text("new dialog title");