tab x enter

Hello, please, how can I have the same functionality of – Window.FocusNext-- in web applications?

Pressing tab in a web app already does this automatically.
Manually shifting the focus with Javascript is not trivial, you have to know which control you want to focus next and then set focus to it:

Thank you, but what I want to do is that in a xojo web application when pressing the enter key a tabulation occurs, this in the xojo desktop applications I get with Windows.FocusNext

do the calculations in LOSTFOCUS?

I do not know how to make an idea from an expert