Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

Empty On Click


A lot of websites have a login form without labels, they let the value of the field indicate what you need to fill in there. It’s very clean and a neat solution if you have limited space for your form.

This plugin enables you to add such a behaviour without all the hassle around it. It even handles the reset event and works on inputs and textarea's.

Integrating the plugin is very easy, just include the right files and add a few lines of code. This is the code to add this behaviour to all input and textarea's for example:

<script type="text/javascript" charset="utf-8">
    $(document).ready(function(){
        $('input, textarea').emptyonclick(); 
    });
</script>

Downloads



0
Your rating: None