Tabbar set focus after selecting a Tab


I am trying to set the form focus after user selects a TAB.

¿Is there a method like attachEventAfterTabSelected o something like that?


there is onSelect event:

tabbar.attachEvent("onSelect",function(id,old){ /*your code here*/ return true });

Possibly you need to call your code with a 1ms timeout

tabbar.attachEvent("onSelect",function(id,old){ window.setTimeout(function(){ /*your code here*/ },1); return true });