how to remove attributes from dynamic generated elements
<p>first this is the picture , the calender is generated using a cms and every element has an onclick event</p>

<p><img src="http://i.stack.imgur.com/sEVrU.jpg" alt="enter image description here"></p>

<p>The <strong>back</strong> and <strong>forward</strong> buttons when clicked will make a new ajax request and returns a new set of elements with their <strong><em>onclick</em></strong> event</p>

<p>i want to attach my own event handler on all the elements so i use the <strong>jquery</strong> <em><strong>delegate</em></strong> method on the table and select all the <strong>anchors</strong> </p>

<p>the problem is the 2 events fires at the same time so i want to negative the onclick event and fire only my version by removing the <strong><em>onclick</em></strong>  <strong>attribute</strong></p>

<hr>

<p>the element being generated by the cms :</p>

<pre><code>&lt;a class="elem" href="..." onclick="function()"&gt;text&lt;/a&gt;
</code></pre>

<p>my version of the delegate method to select all the elements</p>

<pre><code>$("table").delegate(".elem","click", function() {
        //DO SOMETHING    
});
</code></pre>
