Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/09/2012, 14:43
ocp001a
Colaborador
 
Fecha de Ingreso: mayo-2008
Ubicación: $MX['VZ']['Xalapa']
Mensajes: 3.005
Antigüedad: 16 años
Puntos: 528
Respuesta: Como utilizar focus

Código Javascript:
Ver original
  1. if (document.getElementById('nombre').value == "") {
  2.        document.getElementById('nombre').focus();
  3.      var ccc = " *** Debe diligenciar el campo nombre *** ";
  4.  
  5.     }else{