Sending parameter to jQuery function
<p>In a PHP page i have several rows of one table like this</p>

<pre><code>echo '&lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="myFunction('.$id.')"&gt;Click&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;';
</code></pre>

<p>The <code>$id</code> is dynamically generated from a database</p>

<p>So I want to define the function in jQuery but to pass the parameter to the jQuery function.</p>

<p>For each button I click there will be another parameter passed</p>
