Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/02/2005, 14:17
maurimono
 
Fecha de Ingreso: octubre-2004
Ubicación: Santiago de Chile
Mensajes: 504
Antigüedad: 19 años, 7 meses
Puntos: 0
Sonrisa

lo anteruior funciona bien de la siguiente forma: (al ejecutarlo como html sin tomar en cuenta el php)

$n=1;
while ($row=mysql_fetch_array($consultar))
{
$ot = "$row[0]";
$total="$row[1]";
?>
<!--Aqui desplegar os resultados-->
<tr>
<td><input name="algo" type="radio" value="acepto" checked></td>
<td><input name="algo" type="radio" value="rechazo" onClick="rechazar('<?php echo "obj".$n; ?>')"></td>
<td><?php echo $ot; ?></td>
<td><?php echo $total; ?></td>
<td><?php echo $fecha_bien; ?></td>

<!--ojo aqui -->
<td><input type="text" name="texto" disabled ></td>
</tr>

<?php
$n++;

el js:

function rechazar()
{
with (document.rendir_dms)
{
texto.disabled=false;
texto.focus();
}
}