Setfocus after partial Update

I’m trying to do a Xpages application and having a problem when trying to set the focus on a field

My scenario is a custom control with a textBox and a combobox with an onChange event. That event does a partial uptade, setting some info in the textbox (using ServerSide Javascript code), and should set the focus again in the same combobox.

But after doing the Partial refresh, the focus never goes to the combobox.

Any idea how to set the focus using ServerSide Javascript?

Note → Using Client Javascript, sets the focus, but never executes the ServerSide code in the onChange event.

cheers.

Jordi