grab bag - assorted jQuery plugins

Input Hint

Display input hints to users within a text input and remove them automatically on focus/form submission. The hint text for each input can be supplied by assigning it to the standard XHTML title attribute, or by supplying a jQuery selector that, when evaluated in the context of some input element (e.g. $(selector, inputElement)), matches an auxiliary element containing the hint text.

Examples of both methods are given below:

Example using title attribute:
<input type='text' name='forename' hint='Forename' />

Example using auxiliary element:
<input type='text' name='forename' />
<kbd>Enter your forename here</kbd>
$('input').inputHint({using: '+kbd'});
Enter your forename here
Enter your surname here
(obviously you'd hide the <kbd/> elements in real usage)

Direct Link