SyntaxFix
Write A Post
Hire A Developer
Questions
I think this will do:
$('#'+div_id+' .widget-head > span').text("new dialog title");