Focus on the row of the TR table for access

I have a requirement to implement table row availability. Ideally, the application should be based on a div, and whether there should be lines, but this is an old application, and redesigning is not an option. Therefore, I was forced to configure and make it available. Can any of you please help me focus on the row of the table? Is it possible at all?

For example, in the table below, on the tab, you should first focus on the first line, and then on the input inside it. Again tabbing should do the same in the next line.

<table>
<tr>
    <td><input type="textbox" /></td>
    <td>some content</td>
<tr>
<tr>
    <td><input type="textbox" /></td>
    <td>some content</td>
<tr>
<tr>
    <td><input type="textbox" /></td>
    <td>some content</td>
<tr>
</table>

Any help is appreciated.

+1
source share
2 answers

( jQuery) $('tr'). first(). find ('input'). first(). focus(), , , Coomie. , html IE. focus() , , , jQuery focus()

0

, , tabindex:

<td tabindex="1">focus on me</td>
+8

All Articles