when i hit enter key i want it to go to next input, i've seen a code from another question here but my input fields are inside the table, it won't work if my next input is on the next td here's my html code
<form action="#">
<table>
<thead>
<tr>
<th>Input 1</th>
<th>Input 2</th>
<th>Input 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<input name="one"/>
</td>
<td>
<select name="select">
<option>asd</option>
<option>asd</option>
</select>
<input name="two"/>
<input name="three"/>
</td>
<td>
<input name="four"/>
</td>
</tr>
<tr>
<td>
<input name="field-one"/>
</td>
<td>
<select name="select">
<option>asd</option>
<option>asd</option>
</select>
<input name="field-two"/>
<input name="field-three"/>
</td>
<td>
<input name="field-four"/>
</td>
</tr>
</tbody>
</table>
help me please :) thanks!