View Full Version : Prevent "losing focus on tab"

The Rat
12-31-2010, 02:09 AM
Exists there anyway to prevent a textarea loosing focus when you press tab? And if yes, could you please determine me how to do this? :P

12-31-2010, 05:12 AM
Do you have any sample code to view?

I'll try to modify the code for you, but I won't write it for you.

The Rat
12-31-2010, 12:33 PM
Actually I have not written any code yet. But they way I think I should do it is:

1. Detect the pressing of tab and let it loose focus.
2. Return focus on the specified element.

Is that right?

12-31-2010, 04:46 PM
Give it a shot and let's see what you create!