How to modify my tooltip on a td
<pre><code>&lt;?php

include('db_connect.php');
?&gt;&lt;head&gt;
&lt;link rel="stylesheet" type="text/css" href="comment-style.css" media="screen" /&gt;


&lt;script type="text/javascript" src="../jquery.tablesorter/jquery-latest.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="../jquery.tablesorter/jquery.tablesorter.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="../jquery-qtip-1.0.0-rc3094652/jquery-1.3.2.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="../jquery-qtip-1.0.0-rc3094652/jquery.qtip-1.0.0-rc3.min.js"&gt;&lt;/script&gt;

    &lt;script type="text/javascript"&gt;


    $(document).ready(function(){
    var temp= // i need this to fetch the id of which td i hovered, id of the user not id  //of the td so that i can put the id in the data which will be passed to description-//hover.php
    $("#box-table-a span").qtip({
       content: {
          url: 'description-hover.php',
          data: { id: //this should be temp here },
          method: 'post'
       },
       show: 'mouseover',
       hide: 'mouseout'
    });

    });

    &lt;/script&gt;
    &lt;html&gt;

    &lt;/head&gt;
    &lt;div id="table-of-data-div"&gt; 
            &lt;div id="table-div"&gt;
    &lt;table id="box-table-a" class="tablesorter"&gt;
&lt;thead&gt;
&lt;tr&gt;

&lt;th scope="col" style="cursor:pointer;"&gt;B-House/Dorm Name&lt;/th&gt;
&lt;th scope="col" style="cursor:pointer;"&gt;Address&lt;/th&gt;
&lt;th scope="col" style="cursor:pointer;"&gt;Price Range&lt;/th&gt;
&lt;th scope="col" style="cursor:pointer;"&gt;Date Added&lt;/th&gt;
&lt;th scope="col" style="cursor:pointer;"&gt;Status&lt;/th&gt;

&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;?php


$q=mysql_query("select * from property");
    while( $f=mysql_fetch_array($q, MYSQL_ASSOC))
    {
                                            $p_id=$f["p_id"];

    echo"

    &lt;tr&gt;
                                                &lt;td id='tool-table''&gt;&lt;input type='hidden' id='tool-id' value='".$p_id."' /&gt;

                                                &lt;span style='cursor:pointer'&gt;".$f['p_name']."&lt;/span&gt;&lt;/td&gt;
                                                &lt;td id='pretty'&gt;".$f['address']."&lt;/td&gt;
                                                &lt;td&gt;".$f['p_name']."&lt;/td&gt;
                                                &lt;td&gt;".$f['payment_type']."&lt;/td&gt;      
                                                &lt;td&gt;".$status."&lt;/td&gt;       
                                            &lt;/tr&gt;       


    ";

    }



    ?&gt;
     &lt;/tbody&gt;
    &lt;/table&gt;
    &lt;/div&gt;
    &lt;/div&gt;
    &lt;/html&gt;
</code></pre>
