title: by clicking on one button invoke two other buttons
body: <p>I would like by clicking on a button to "activate" the clicking of 2 other buttons.
  I've put this ccjs in the onclick event:</p>
  
  <pre><code>document.getElementById("#{id:button28}").click();document.getElementById("#{id:button29}").click();
  </code></pre>
  
  <p>But then only button 28 gets clicked !
  Then I tried putting this part1 of the code under the onclick event and part2 under the onmousedown event. Then I have to click 2 times this button before he actually does the job.</p>
  
  <p>the code so far:</p>
  
  <pre><code>&lt;xp:button value="Save" id="button26"&gt;
  &lt;xp:eventHandler event="onclick" submit="false"&gt;
      &lt;xp:this.script&gt;
          &lt;xp:executeClientScript&gt;
      &lt;xp:this.script&gt;&lt;![CDATA[document.getElementById("#{id:button29}").click();
      &gt;&lt;/xp:this.script&gt;
          &lt;/xp:executeClientScript&gt;
      &lt;/xp:this.script&gt;&lt;/xp:eventHandler&gt;&lt;/xp:button&gt;&lt;xp:button id="button29" value="button29"&gt;
      &lt;xp:eventHandler
      event="onclick" submit="true" refreshMode="partial"
      id="eventHandler21" refreshId="outsidePanel5"&gt;
          &lt;xp:this.action&gt;
              &lt;xp:actionGroup&gt;
                  &lt;xp:executeScript&gt;
                  &lt;xp:this.script&gt;&lt;![CDATA[#{javascript:sessionScope.put("test","");// and some more code}]]&gt;
                  &lt;/xp:this.script&gt;
                  &lt;/xp:executeScript&gt;
              &lt;/xp:actionGroup&gt;
          &lt;/xp:this.action&gt;
      &lt;xp:this.onComplete&gt;&lt;![CDATA[document.getElementById("#{id:button28}").click();]]&gt;&lt;/xp:this.onComplete&gt;
      &lt;/xp:eventHandler&gt;&lt;/xp:button&gt;&lt;xp:button value="button28" id="button28"&gt;
      &lt;xp:eventHandler event="onclick" submit="true" refreshMode="partial" refreshId="outsideMogelijkheid"&gt;
          &lt;xp:this.action&gt;
              &lt;xp:executeScript
                      script="#{javascript://some code}"&gt;
              &lt;/xp:executeScript&gt;
          &lt;/xp:this.action&gt;
      &lt;/xp:eventHandler&gt;&lt;/xp:button&gt;
  </code></pre>