Update jQueryUI dialog and page

by alano

HTML

<div id="main-content">
    <span id="debugBoxRefreshWrapper">            
        <span id="debugBoxRefresh">the new debugging data</span>
    <div id="debugBox" title="Debug Box">
        Dialog box content
    </div>
</div>

CSS

#debugBoxRefreshWrapper { display:none; }

JavaScript

var $debugBox;
$(document).ready(function() {
    $debugBox = $("#debugBox");
    $debugBox.dialog({autoOpen: true});
});