Opening the jquery UI dialog inside the div
<p>I have a <code>div#test</code> , with which i bind a <code>dblclick event to opens a jquery ui dialog</code>, now i want to open </p>

<p>that <code>dialog inside a floating div</code> ( means a div whose position is absolute and placed on the</p>

<p>center of the screen) when the <code>dblclick event triggers</code> on <code>div#test</code> something like :</p>

<pre><code>           line #1     $("#test").trigger("dblclick"); =&gt; open the dialog 

           line #2     $("floatingdiv").html("I want to open the dialog inside

                        this div after executing the line #1);
</code></pre>

<p>Help me? Thanks.</p>
