jQuery Textbox Hinter Plugin
Jquery textbox hinter is plugin which allows to add hints to textboxes and textareas. Acts as a complete replacement for labels.
- Features
- Demo
- Documentation
- Download
Features
- Simple and light-weight.
- No knowledge of programming required.
- Can add classes to default text.
- Can add hints to multiple to textboxes and textareas.
- Cross browser supported.
- Customziable.
- Multiple browsers support
Basic Usage
You can attach this plugin to multiple textboxes and textareas using this code
$('class / Id of the textbox/textarea').tbHinter({
text: 'Default text goes here ...',
styleClass: 'Class for default text goes here ...'
});
Steps in Using
- Download the
jquery.textbox-hinter-1.0.zipfile. - Upload the extracted folder to your server.
- Include Jquery in your document
<script src="path to jquery" language="javascript" type="text/javascript"></script>
- Include textbox hinter to your document like,
<script src="path to jquery.textbox-hinter.js" language="javascript" type="text/javascript"></script>
- Attach the plugin to textboxes and teaxareas by using the code
$('class / Id of the textbox/textarea').tbHinter({ text: 'Default text goes here ...', styleClass: 'Class for default text goes here ...' }); - That’s all !
Note: The property
class (as of version 1.0) is now renamed to styleClass (in version 1.1) to fix the IE 8 bug.
Pingback: Ocultar texto en inputs con jQuery | Kabytes
Pingback: jQuery Roundup: Orbit, ImageSwitch and Textbox Hinter | Digital Results
Pingback: JQuery Textbox Hinter Plugin | jQuery Wisdom
Pingback: Web Design Software
Pingback: jQuery textbox hinter in IE8 | Robert Reiz
Pingback: add/remove div « jQuery Italia - Forum