Transferring a contents of a table cell into document loaded by jQuery
<p>I currently have a table in the current format:</p>

<pre><code>ID  Client Info  Case Detail  Accident Date  Case Opened  No Days  Function
--  -----------  -----------  -------------  -----------  -------  --------
</code></pre>

<p>which contains dynamic information being pulled out of the database.</p>

<p>The ID column is of particular importance because I need to extract the data from this cell when the user clicks on the <strong>"Manage"</strong> button under the function column.</p>

<p>Right now this is the code that runs when the user clicks on the <strong>"Manage"</strong> button.</p>

<pre><code>&lt;script&gt;
  $(document).ready(function () {
    $(".manage").click(function () {
    $('#casesHeading').hide("slow");
    $('#casesTable').hide("slow");
    $('#results').load('components/manage.php');
    });
    });
&lt;/script&gt;
</code></pre>

<p>A heading and table is hidden and the page "manage.php" is loaded in results div.</p>

<p><em>But I was just wondering if there was anyway for me to transfer the content of the ID cell (this varies per row) obviously into the manage.php file (which is currently empty).</em></p>

<p>So if the user clicks on a row with the ID cell data <strong>233-cv</strong> then this information would be transferred over into the manage.php file. Hopefully I'm making sense. I read up on the jQuery .find function and it made some sense but I have no idea how to incorporate it in this instance.</p>

<p><strong>UPDATE 1</strong></p>

<p>I'm trying to accomplish somethng similar to this <a href="http://jsfiddle.net/ZjvAz/" rel="nofollow">http://jsfiddle.net/ZjvAz/</a>.</p>

<p><strong>UPDATE 2</strong></p>

<p>I've tried the following code but it doesn't seem to be working.</p>

<pre><code>&lt;script&gt;
  $(document).ready(function () {
$(".manage").click(function() {
    var clickedButton = $(this);
        clickedButton.parent().find(".result").text(
            clickedButton.parent().parent().parent().find('.caseID').text()
        );
    });
});
&lt;/script&gt;
</code></pre>
