Jquery event handling for specific clicks, but using off to turn off all clicks under a grouped classname
<p>How can I attach a specific handler for each clicked anchor tag, and then turn off all anchor tags grouped under one div with a class name?</p>

<p>How can I attach a specific handler for each clicked anchor tag, and then turn off all anchor tags grouped under one div with a class name?</p>

<pre><code>&lt;div id="x"&gt;
    &lt;a id="a"&gt;link one&lt;/a&gt;
    &lt;a id="b"&gt;link two&lt;/a&gt;
    &lt;a id="c"&gt;link three&lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>jquery:</p>

<pre><code>$('#a').on('click touchstart', handlerfuncA );
$('#b').on('click touchstart', handlerfuncB );
$('#c').on('click touchstart', handerfuncC );

$('x').off('click touchstart' );
</code></pre>

<p>then reattach all without specifically attaching each anchor again.
but how would i easily reattach each handler? i need the handlers to be reattached but was wondering if there was an easy way without specifying attaching every handler again.</p>
