jQuery, how do I call a url by checking a checkbox
<p>I have this:</p>

<pre><code>&lt;span id="social"&gt;
    Facebook:
    &lt;input id="id_connected_to_facebook" type="checkbox" name="connected_to_facebook"&gt;
    &lt;br&gt;
    Twitter:
    &lt;input id="id_connected_to_twitter" type="checkbox" name="connected_to_twitter"&gt;
    &lt;br&gt;
&lt;/span&gt;
</code></pre>

<p>and with jQuery I would like to call a different URL for all the 4 possible actions (1: check facebook, 2: uncheck facebook, 3: check twitter, 4: uncheck twitter).</p>

<p>How would I do that?</p>
