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.

Default Value


A simple user enhancement for your HTML forms

Default value plug-in has been developed as a progressive enhancement for input and textfield elements. Allowing an initial value to appear within the form element, acting as a prompt for the user. This value is removed upon element focus and returned (on blur) if an alternate value has not been entered the user.

Although the plug-in does allow manipulation of multiple elements in one call, a basic application can be implemented within a simple one line command:

jQuery(function($) {
    $("#input-one").defaultvalue("Your text");
})

For full API information visit Campbells Digital Soup

Downloads



4.333335
Your rating: None Average: 4.3 (3 votes)