Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

Default Value


Average rating
(2 votes)

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

Releases

Official releasesDateSizeLinksStatus
1.02008-Apr-19n/aRecommended for 1.0.xThis is currently the recommended release for 1.0.x.