$("#dialogHeight").html( String($("#dialog").dialog( "option", "height" )));
Run code
The dialog's height is: ''

In 1.7.2 this returned undefined