jquery.hintbox.js is a jQuery plugin that adds functionality to an input box to show and hide hints to the user on focusIn and focusOut events. It is used as an alternative to having the input box label be a separate element. Hintbox is especially useful in tight spaces or where a simple hint is enough information for the user. Hintbox is currently being used in conjunction with Delayed Search for the “Search tab” input box in Happy Camper.
| Options | ||
| activeClass | string | CSS class to use when the textbox has focus |
| filledClass | string | CSS class to use when the non-focused textbox contains a non-empty string |
| hintText | string | Default text to show when the non-focused textbox contains an empty value |
| Events | ||
| jquery.hintbox does not trigger any custom events. |
| Methods | ||
| jquery.hintbox does not expose any public methods. |
Download from GitHub
Current version: 1.0.0
Leave a comment