Php with Jquery
<p>I'm trying to pass the database values which is in table in a phtml to jquery popup on clicking on it.Below is my code.</p>

<pre><code>foreach($this-&gt;paginator as $record) {
    $color="#E8E8E8";

    echo "&lt;td width='61'&gt;&lt;a href='#'id='Popup'&gt;". $record['firstname'] . "&lt;/td&gt;";
    echo "&lt;td width='61'&gt;" . $record['emailid'] . "&lt;/td&gt;";
    echo "&lt;td width='38'&gt;" . $record['customdata'] . "&lt;/td&gt;";
    echo "&lt;td width='72'&gt;" . $record['locationrating'] . "&lt;/td&gt;";
    echo "&lt;td width='52'&gt;" . $record['cleanlinessrating'] . "&lt;/td&gt;";
    echo "&lt;td width='58'&gt;" . $record['valueformoneyrating'] . "&lt;/td&gt;";
    echo "&lt;td width='59'&gt;" . $record['kitchenequipmentrating'] . "&lt;/td&gt;";
}
</code></pre>

<p>How should i pass a
    value using href to jquery ?And also how should i fetch that in pop
    up window n use that to fetch details from phpcontroller.Please help
    me on this.</p>
