calling jquery from a javascript function
<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;script type="text/javascript"&gt;
function display(id)
{
  // open jquery modal window using jquery UI 
}

&lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I want to open jquery modal window using jquery UI whenever the function display is called using normal javascript function call . </p>

<p>I can use .diolog function of jquery UI  , but how to call it from within javascript function ?</p>

<p>Thanks</p>
