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

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

    binya frank Newbie

      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>