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