6 Replies Latest reply on Nov 9, 2009 12:10 PM by Nick Belaevski

    How to set next focus when recalulating values using ajax?

    BJorn T Johansen Newbie

      When I use the a4j:support for the onblur event on a text inputfield, so I can calculate values for other text inputfields on the page, I have a focus problem.
      When I do nothing, I am not sure where the focus is after the ajax request, but it is not in any of my text inputfields.

      I have tried using tabindex but still the same...
      I can use focus on the a4j:support tag and that works, but then I am forced to follow the chosen focus line before I e.g. can choose a field with my mouse again..

      Is there a best way to do this that works?