Why my Dialog box isn't working
<p>This is the code I am trying and not working, nothing comes up at all</p>

<pre><code>&lt;script type="text/javascript" src="jquery/jquery.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="jquery/jquery-ui.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
    function HandleIt()
    {
        var objA = $get('&lt;%= chkBox.ClientID %&gt;');

        if(objA.checked == false)
            $("#dialog").dialog();

            //alert("it works");
    }  
&lt;/script&gt;
&lt;div style="width: 800px;"&gt;
    &lt;asp:ScriptManager ID="ScriptMan1" runat="server" /&gt;
    &lt;div class="dialog"&gt;
        &lt;div class="a"&gt;
        &lt;asp:Label ID="lbla" runat="server" CssClass="text" /&gt;
    &lt;/div&gt;
    &lt;div class="b"&gt;
        &lt;asp:Label ID="lblb" runat="server" CssClass="text" /&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Code I given down works when dialog when it is like this, </p>

<pre><code>&lt;div class="dialog"&gt; Hahahahaha &lt;/div&gt;
</code></pre>

<p>I want to use it as message box but its not working out.</p>
