Focus on a row after select change

Hi I wonder if anyone can help. I have an application where users select a number from 10 dropdown boxes in table rows. The problem is if they choose the last value the cursor drops down to several rows below. What i really want to do is to focus the row and move the cursor back to the row the user just selected. I am sure its really simple but i just cant do it

I tried stuff like

$.scrollTo(‘table tr.debit’);
$(‘table tr.debit’).focus();
$(‘table tr.debit’).select();

But the cursor doesnt jump back to the row and the row doesnt highlight (debit and credit classes highlight the row on hover).

Any ideas?

A test page that exhibits the problem will allow us to find the root cause of your problem.