how to change the content of an element in jquery code example Example: jquery change text of div $('#dialog_title_span').text("new dialog title");