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

By Ryan Tvenge

I'm a web developer and co-owner of Hoverboard that makes cool stuff on the web.

Leave a Reply

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

Tvenge Design