how to pass database values in jquery?
<p>Am having several boxes(more than 100) that will create dynamically with</p>







<p>Now on each clicking of the box i should slide in one pop up box without page refresh.I downloaded jquery UI(http://jqueryui.com/demos/dialog/#option-position) and used in my project.Now I want to pass the company id on each click of the box to get the details from database.if I click window 5 the company id 5 should pass the get all the other details of the company inside the dialog.</p>

<p>jquery code:</p>

<pre><code>&lt;script type="text/javascript"&gt;
     // increase the default animation speed to exaggerate the effect
     $.fx.speeds._default = 1000;
     $(function () {

         $("#dialog").dialog({
             autoOpen: false,
             show: "slide",
             hide: "explode"
         });

         $("div[id *= 'window']").live('click', function (e) {

             $("#dialog").dialog("open");

             return false;
         });
     });
    &lt;/script&gt;
</code></pre>

<p>Asp.net code</p>

<pre><code>&lt;div id="dialog" title="Basic dialog"&gt;
     &lt;div&gt;&lt;%#Eval("comp_name")%&gt; &lt;/div&gt;
      &lt;div&gt;&lt;%#Eval("comp_city")%&gt; &lt;/div&gt;
 &lt;/div&gt;
</code></pre>
