jquery dynamic $.post
<p>I have a list of checkboxes generated dynamically. Exp:</p>

<pre><code>&lt;input class="cb1" var1="1" var2="2" var3="3" type="checkbox" /&gt;&lt;label&gt;Checkbox1&lt;/label&gt;
</code></pre>

<p>I am trying to $.post values of 'var1', 'var2' and 'var3' to a php file 'data.php' for each checkbox that is checked.</p>

<p>I am not sure how to do this.</p>
