Ver Mensaje Individual
  #4 (permalink)  
Antiguo 28/05/2012, 13:29
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Seleccionando el atributo "name"

A ver entonces tratando de entender, quieres poner en el div helper, el contenido de lo que viene en tu "placeholder" de cada atributo ¿cuando haga focus?, tendrías que hacer algo así:
Código Javascript:
Ver original
  1. $('input, select, textarea').focusin(function() {
  2.     var helper = $('.helper');
  3.     helper.html($(this).attr('placeholder'));
  4.     if (!helper.is(':visible')) helper.show();
  5.     else helper.hide();
  6. }).blur(function() {
  7.     $('.helper').hide();
  8. });

Saludos.