Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/09/2009, 14:48
Avatar de America|UNK
America|UNK
 
Fecha de Ingreso: noviembre-2006
Ubicación: Piura - Perú
Mensajes: 582
Antigüedad: 17 años, 6 meses
Puntos: 56
Respuesta: cambiar boton/vinculo al click

En css lo puedes hacer mas facil.

Código html:
Ver original
  1. <style type="text/css">.objeto:focus {border:1px solid Red}</style>
  2. <input type="button" class="objeto" />

En js

Código html:
Ver original
  1. <input type="button" class="objeto" onfocus="this.style.border='1px solid red'" onblur="this.style.border='1px solid black'" />
__________________
/* El que atiende, entiende..., el que entiende, aprende!.
Desarrollo Web Freelance, Contactar */