I was wondering if it is possible and hoping if someone could help me preform a tab with js.

But, here's the catch, i want it to act just like the tab-button on a keyboard does. Meaning not only does it indent (~4 spaces) in an input-field, text-area, or anywhere when one can type, but it also tabs to the next-element on a page that can be focused on.

I hope I am not being too confusing.

Its just like the tab-button that indents and also can move around a web-page for example.

I was trying to achieve something like this once a div, with the id #tabButton, I made is clicked.

Does anyone have any ideas on how to do this? I would really appreciate any help or ideas.

Thanks in Advance & Best Regards,
Team 1504.