not able to pass variable from Jquery to PHP
<p>I am new to JQuery. I have a table and few of the rows have links on the cells. When a user
click on the cell it can be editable. This part is working. Once I capture the edited value from the cell I am trying to pass it to PhP to update it permanaently. I have code in place but the variable(b and d) not seems to reach the PhP. It just remains blank. Please see the code below. I have a single file for PHP, Jquery and HTML. Your help is appreciated and thanks in advance.</p>

<p><em><strong>Html table:</em></strong> </p>

<pre><code>&lt;?php foreach ($Cashups as $Cashup) { ?&gt; 
    &lt;tr&gt;
    &lt;td class="Left"&gt;&lt;?php echo $Cashup['display_time']; ?&gt;&lt;/td&gt;
    &lt;td&gt;&lt;?php echo $Cashup['terminal_name']; ?&gt;&lt;/td&gt;
    &lt;td&gt;&lt;?php echo number_format($Cashup['calculated_cash'], 2); ?&gt;&lt;/td&gt;
    &lt;td class="clickchange"&gt;&lt;a  href="#"&gt;&lt;?php echo number_format($Cashup['actual_cash'], 2); ?&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td&gt;&lt;?php echo number_format($Cashup['calculated_other'], 2); ?&gt;&lt;/td&gt;
    &lt;td&gt;&lt;?php echo number_format($Cashup['actual_other'], 2); ?&gt;&lt;/td&gt;
    &lt;/tr&gt;
</code></pre>

<p><strong>Jquery code*<em></strong>(Got it from stackoverflow)</em>*</p>

<pre><code>jQuery(function($) {

    $(".Cashups").delegate("td:eq(3) &gt; a", "click", function(event) {
    var a, parent, input, doneLink, b, i, eq, c, d;
    var eq = $(this).parent().children("a").index(this);

    // The `a` has been clicked; cancel the action as
    // we're handling it
    event.preventDefault();
    event.stopPropagation();

    // Remember it and its parent
    a = $(this);
    parent = a.parent();

    // Insert an input in front of it, along with a done link
    // because blur can be problematic
    input = $("&lt;input type='text' size='10'&gt;");
    input.insertBefore(a);
    input.blur(doneHandler);
    doneLink = $("&lt;a href='#'&gt;done&lt;/a&gt;");
    doneLink.insertBefore(a);
    doneLink.click(doneHandler);

    // Put the text of the link in the input
    input.val(a.text());


    // Temporarily detach the link from the DOM to get it
    // out of the way
    a.detach();

    // Give the input focus, then wait for it to blur
    input[0].focus();

    // Our "done" handler
    function doneHandler() {
    // Replace the content of the original link with
    // the updated content
    a.text(input.val());

    b = a.text();
    //c = b;
    alert(b);

$.get('js_test.php?b=' + b, function (data) {                                     

    $('.Cashups td a').eq(3).html(b);

});
</code></pre>

<p><strong>PHP code:</strong></p>

<pre><code>if($_GET["b"] != '') {
        echo "hello";
        $Cashups[0]['actual_cash'] = 50.22;
        $Total_Actual_Cash = 25.0;
    echo 'b: ' . $_GET["b"];
}

if($_GET["d"] != '') {
        echo "hello";
        $Cashups[1]['actual_cash'] = 21.22;
        $Total_Actual_Cash = 25.0;
    echo 'b: ' . $_GET["b"];
}
</code></pre>
