Dica rápida: jQuery Plugin autohelp

Plugin interessante para utilizarmos em formulários como dica de preenchimento.

O plugin captura o title do elemento em foco e insere ele como html do elemento que renderizará o texto de ajuda

site:  http://www.dyve.net/jquery/?autohelp

Como utilizar:
$(document).ready(function() {
$(“form *”).autohelp(“#autohelp”);
});

form *: seleciona todos os elementos que estiverem dentro de um form (funciona como a origem)

#autohelp: seleciona o elemento com o id “autohelp” (funciona como o destino do texto de ajuda)

Obrigado

Rodolfo

This entry was posted in JavaScript, jQuery and tagged . Bookmark the permalink.

One Response to Dica rápida: jQuery Plugin autohelp

  1. Pingback: Tweets that mention Dica rápida: jQuery Plugin autohelp -- Topsy.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>