Tab Order / Focus after replacement per Ajax
Joachim Tuchel <[email protected]> Thu, 22 Jun 2023 11:52:52 +0200
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Organization | objektfarik Joachim Tuchel |
| Message-ID | <[email protected]> |
Dear Seasiders, it seems this list is more or less abandoned, but I'll try anyways... My question is probably more JS related that Seaside.. I have a question regarding tab order and replaced components via Ajax. Let's assume we have a form with 3 inputs. Teh middle one has an onblur event handler that replaces the form. So far, so good. The problem is that the focus moves to the first text input element instead of the "next" one (which is not the same element as before, because we replaced all three with new ones). I tried a few things like using the tablndex attribute on elements, but found nothing that works. Does anybody have a clue what to do in this situation? I am pretty sure it is a JS only or even plan HTML solution, but cannot find it on my own... Joachim _______________________________________________ seaside mailing list -- [email protected] To unsubscribe send an email to [email protected]