Categories
Scripts

Easy Autofill jQuery Plugin

Here’s a little ditty I drew up in jQuery. It makes it so your autofill isn’t a parameter in your js, but pulls it directly from the hiding label that should already be there for accessibility/non-js users. Here is what you need to know:

The JS:


The html:

Contact Me

It is important to know that the text that is used for the autofill is grabbing the label tag just before the input or textarea.

See it in Action | Download files

Tvenge Design