title: Passing a HTML value to use in a JQuery UI dialog?
body: <p>I have the following scripts:</p>
  
  <pre><code> $(function (movie) {
          $("#dialog").dialog({
              autoOpen: false,
              show: {
                  effect: "blind",
                  duration: 500
              },
              hide: {
                  effect: "explode",
                  duration: 500
              }
          });
          $("td#dialog_link").click(function (e) {     
  
              $('#dialog').dialog('open');
              return false;
          });
  </code></pre>
  
  <p>And the following div to display the message:</p>
  
  <pre><code>&lt;div id="dialog" title="R"&gt;
  &lt;p&gt;The value in the table is &lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I just can't seem to find a way to pass in the value from the thing i'm clicking.</p>
  
  <p>It's set up so when I click an element in a table, it shows the dialog, but I want it to also display the value from what i'm clicking on in the dialog at the end or middle of the message.</p>
  
  <p>Please help, I can't find it.</p>