Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/09/2011, 09:22
lopezcanela1988
 
Fecha de Ingreso: septiembre-2011
Ubicación: Jalapa, Veracruz
Mensajes: 11
Antigüedad: 13 años, 4 meses
Puntos: 0
Pregunta Problemas con Onfocus

Que tal comunidad les traigo otro problema ojala y me puedan ayudar

tengo el siguiente codigo

Código PHP:
echo "<td><input style='border:none' type='text' name='clave".$j."' id='clave".$j."' value='".$_SESSION['clave'][$j]."' ></td>";
            echo 
"<td><input style='border:none' type='text' name='desc".$j."' id='desc".$j."'   value='".$_SESSION['desc'][$j]."'></td>";
            echo 
"<td><input style='border:none' type='text' name='cant".$j."' id='cant".$j."'   value='".$_SESSION['cant'][$j]."'  onblur='fin(total,$j);'></td>";
            
            echo 
"<td><input style='border:none' type='text' name='puni".$j."' id='puni".$j."' value='".number_format($_SESSION['puni'][$j],2)."'></td>";
            
            echo 
"<td><input style='border:none'  value='".$_SESSION['total_p'][$j]."' type='text' name='tot".$j."' id='tot".$j."' onkeydown='enviar(event);'></td>" 
lo que quiero que cuando carge la pagina se ponga el foco en este elemento

Código PHP:
<td><input style='border:none' type='text' name='clave".$j."' id='clave".$j."' value='".$_SESSION['clave'][$j]."' ></td>"; 

espero su valiosa ayuda