Ahora lo que requiero es que cuando la cantidad (canti), sea modificada pase directo al campo observacion (observa) obligandolo a colocar un texto (correspondiente al motivo del cambio).
Como puedo hacer esto?.
Cita:
Desde ya se agradece cualquien informacion al respecto... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style type="text/css">
<!--
.Estilo1 {font-family: "Trebuchet MS"; font-size: 12px; font-weight: bold; color: #FFFFFF; }
.Estilo2 {font-family: "Trebuchet MS"; font-size: 12px; color: #000000; }
-->
</style>
</head>
<body>
<form id="form1" name="form1" method="post" action="regrabanp.sh">
<table width=50% border=1 cellspacing=0 cellpadding=2 align=center>
<tr class=Estilo1 bgcolor=#000099>
<td width=20% align=center>Código</td>
<td width=20% align=center>Cantidad</td>
<td width=60% align=center>Observación</td>
</tr>
<tr class=Estilo2>
<td width=20% align=right>4215015</td>
<td width=20% align=right><input name="canti" type="text" value="4" size="8" maxlength="8" /></td>
<td width=60% align=right><input name="observa" type="text" value="" size="32" maxlength="32" /></td>
</tr>
<tr class=Estilo2>
<td width=20% align=right>9919346</td>
<td width=20% align=right><input name="canti" type="text" value="10" size="8" maxlength="8" /></td>
<td width=60% align=right><input name="observa" type="text" value="" size="32" maxlength="32" /></td>
</tr>
<tr>
<td colspan=3 align=center><input type="submit" value="Procesar" /></td>
</tr>
</table>
</form>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style type="text/css">
<!--
.Estilo1 {font-family: "Trebuchet MS"; font-size: 12px; font-weight: bold; color: #FFFFFF; }
.Estilo2 {font-family: "Trebuchet MS"; font-size: 12px; color: #000000; }
-->
</style>
</head>
<body>
<form id="form1" name="form1" method="post" action="regrabanp.sh">
<table width=50% border=1 cellspacing=0 cellpadding=2 align=center>
<tr class=Estilo1 bgcolor=#000099>
<td width=20% align=center>Código</td>
<td width=20% align=center>Cantidad</td>
<td width=60% align=center>Observación</td>
</tr>
<tr class=Estilo2>
<td width=20% align=right>4215015</td>
<td width=20% align=right><input name="canti" type="text" value="4" size="8" maxlength="8" /></td>
<td width=60% align=right><input name="observa" type="text" value="" size="32" maxlength="32" /></td>
</tr>
<tr class=Estilo2>
<td width=20% align=right>9919346</td>
<td width=20% align=right><input name="canti" type="text" value="10" size="8" maxlength="8" /></td>
<td width=60% align=right><input name="observa" type="text" value="" size="32" maxlength="32" /></td>
</tr>
<tr>
<td colspan=3 align=center><input type="submit" value="Procesar" /></td>
</tr>
</table>
</form>
</body>
</html>