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