<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;"><div>Hi Folks,</div><div><br></div><div>I have discovered why I am getting multiple events -- increasingly multiple events.&nbsp; In the following code, the "attach" method is called for each click and notice that this has the effect of attaching a new event handler for each event handler already attached.&nbsp;</div><div><br></div><div>And here's the mystery: My code differs by ONLY identifiers from the example I followed (<span class="Object" id="OBJ_PREFIX_DWT1303_com_zimbra_url"><a href="http://interactivejunky.com/tutorial-demos/ij-ajax-commands/trigger-page" target="_blank" data-mce-href="http://interactivejunky.com/tutorial-demos/ij-ajax-commands/trigger-page">http://interactivejunky.com/tutorial-demos/ij-ajax-commands/trigger-page</a></span>) and the example works correctly which leaves unexplained why I have to add an unbind() call to avoid the multiple attach problem.&nbsp; I considered that it might be the version of jQuery, but I see the same problem with both 1.7 and 1.8, so at least as far as jQuery_update is concerned, it is not a jQuery issue.&nbsp; I don't know if it is a "behaviors" issue, because I still don't fully understand how&nbsp;"behaviors" works.&nbsp; Anybody have any insight into this question?&nbsp; (Attached is the complete (trivial) module for experimentation, should that be interesting.)</div><blockquote><div>(function ($) {<br>&nbsp;&nbsp;&nbsp; Drupal.behaviors.modc = {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; attach: function(context, settings) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var $AJAXEnabled = $('#ajax-enabled');<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong></strong><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"><strong>$AJAXEnabled.unbind();</strong></span><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new Drupal.ajax('#ajax-enabled', $AJAXEnabled, {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; url: $AJAXEnabled.attr('href'),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; settings: {},<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; event: 'click tap'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; });<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; })(jQuery);</div></blockquote><div><br></div><div><span></span>Chris.</div></div></div></div></body></html>