In Drupal 7 you can do this just fine by returning multiple AJAX commands from the callback.<br><br>I don&#39;t think there&#39;s a way to do it using just the AHAH framework in D6, because the ajax.js stuff is fixated on the wrapper ID it&#39;s been given.<br>
<br>-Randy<br><br><div class="gmail_quote">On Wed, Jul 7, 2010 at 10:25 AM, Athanasios Velios <span dir="ltr">&lt;<a href="mailto:a.velios@gmail.com">a.velios@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I was wondering whether any of you has managed to do this:<br>
<br>
I have an ahah-enabled button in a form and two other independent elements. I wish to be able to change both of these independent elements by pressing the button, i.e. in a single ahah action.<br>
<br>
Passing an array of elements to drupal_render partly does the trick but the binding only takes place for the wrapper of the current element, with the other one not being changed.<br>
<br>
Any ideas?<br>
<br>
Thanks<br>
<br>
Thanasis<br>
</blockquote></div><br><br clear="all"><br>-- <br>Randy Fay<br>Drupal Module and Site Development<br><a href="mailto:randy@randyfay.com">randy@randyfay.com</a><br>+1  970.462.7450<br><br>