
18/11/2011, 16:39
|
| | Fecha de Ingreso: mayo-2008
Mensajes: 15
Antigüedad: 16 años, 10 meses Puntos: 0 | |
Recorrer text dentro de tabla html Buenas tardes.
Primero les cuento que tengo una tabla de esta manera, donde tengo textbox y divs. Necesito recorrer con las flechas del teclado por estos textbox como si estuviera en excel.
<html>
<head>
</head>
<body>
<table>
<tr>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><div>00</div></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><div>00</div></td>
<td><div>00</div></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
</tr>
<tr>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><div>00</div></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><div>00</div></td>
<td><div>00</div></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
</tr>
<tr>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><div>00</div></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><div>00</div></td>
<td><div>00</div></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
<td><input type='text' /></td>
</tr>
</table>
</body>
</html>
Me podrian decir como lo hago.
Necesito que el foco se vaya directamente al textbox.
Espero que me puedan colaborar.
Ojalá se pueda con Jquery.
Gracias,
Última edición por xGs_Manco; 18/11/2011 a las 16:41
Razón: Faltaba Info
|