Hi,
I'd like to click a button via JavaScript after the selection in a selectOneListBox has changed. The oncomplete attribute works fine with Firefox; however, using IE7 it only works if no elements are reRendered after the selection has changed. The following code illustrates the problem:
This code works:
...
<h:selectOneListbox id="patents" size="8"
 styleClass="selectMenu" value="#{patentHandler.selectedPatent}"
 converter="#{patentHandler.selectedPatentConverter}">
 <f:selectItems value="#{patentHandler.patentItems}" />
 <a4j:support bypassUpdates="true"
 event="onchange" actionListener="#{patentHandler.selectionChanged}"
 oncomplete="document.getElementById('patentForm:buttonDetails').click();" />
</h:selectOneListbox>
...
This code only works with Firefox but not with IE: 
...
<h:selectOneListbox id="patents" size="8"
 styleClass="selectMenu" value="#{patentHandler.selectedPatent}"
 converter="#{patentHandler.selectedPatentConverter}">
 <f:selectItems value="#{patentHandler.patentItems}" />
 <a4j:support bypassUpdates="true" reRender="patents"
 event="onchange" actionListener="#{patentHandler.selectionChanged}"
 oncomplete="document.getElementById('patentForm:buttonDetails').click();" />
</h:selectOneListbox>
...
Any comments are welcome, 
tia Hannes