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
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 1.0 | 2008-Apr-19 | n/a | Recommended for 1.0.x | ||
