4 Replies Latest reply on Sep 7, 2007 4:45 AM by ilya_shaikovsky

    a4j:support > oncomplete > returning the focus to the elemen

    binya

      I want in 'oncomplete' to return the focus to the inpuText, its fine in Mozilla but not in IE7. somebody knows why?
      thanks!

      the code:



      <t:inputText id="name" value="#{bean.name}">

      <a4j:support event="onclick" action="#{bean.nameFieldClicked}" reRender="toggler"
      oncomplete="document.getElementById('val_form:name').focus()"/>

      </t:inputText>