title: How to display the data on hover?
body: <p>I want to display data on mouseover, however, I am weak in jQuery, and I don't know how to get the data through it on hover. This is my function so far:</p>
  
  <pre><code>function test_contact_group($id){
      $results = $this
          -&gt;Contact
          -&gt;ContactsContactGroup
          -&gt;find('all', array('conditions'=&gt; array('ContactsContactGroup.contact_id'=&gt;$id,)));
      $this-&gt;set('results',$results); 
  }
  </code></pre>
  
  <p>And my view is:</p>
  
  <pre><code>    &lt;div class="firsttable"&gt;
      &lt;table width="100%" border="0" cellspacing="0" cellpadding="2"&gt;
          &lt;thead&gt;
              &lt;tr class="heading"&gt;
                  &lt;td&gt;&lt;?php echo __l('Group Name');?&gt;&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody&gt;
              &lt;?php foreach ($results as $results){?&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      &lt;?php echo $results['ContactGroup']['name']?&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;?php }?&gt;
          &lt;/tbody&gt;
      &lt;/table&gt;    
  &lt;/div&gt;
  </code></pre>
  
  <p>and the link which will get the data is   </p>
  
  <pre><code>  &lt;?php echo $this-&gt;Manager-&gt;link($records['ContactGroup']['name'],array('action'=&gt; 'test_contact_group', $records['Contact']['contact_id']));?&gt;
  </code></pre>
  
  <p>HTML of the link is</p>
  
  <pre><code>  &lt;a href="/contacts/test_contact_group/78"&gt;default&lt;/a&gt; 
  </code></pre>
  
  <p>i want to display the data through this link on hover, how can i do that, please help me to do that, any body can help it will appreciated, thanks in advance</p>
  
  <p>the Param which i passed on link is</p>
  
  <pre><code> $records['Contact']['contact_id'])    
  </code></pre>