Ver Mensaje Individual
  #9 (permalink)  
Antiguo 11/02/2011, 00:12
Avatar de raxper
raxper
 
Fecha de Ingreso: enero-2010
Ubicación: ------
Mensajes: 472
Antigüedad: 14 años, 3 meses
Puntos: 2
Respuesta: Poner texto en el campo input tipo password

No funciona en IE 6.0 Tiene razón zerokilled

La forma más sencilla lo veo hacerlo con style.background


Código HTML:
Ver original
  1. function cambiar1(){if(capturar.style.background =="url(http://www.fileden.com/files/2008/11/17/2190463/word.gif)"){capturar.style.background=""} }
  2. function cambiar2(){if(capturar.value==""){capturar.style.background ="url(http://www.fileden.com/files/2008/11/17/2190463/word.gif)"} }
  3. <input type="password" style="background:url(http://www.fileden.com/files/2008/11/17/2190463/word.gif); width:280px;" onclick="cambiar1()" onblur="cambiar2()" id="capturar" value="">

Saludos
__________________
/^sleep:\/\//;