Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 684 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 684 Bytes

Overview

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.

Demo

See a JSFiddle demo of jquery.hintbox at http://jsfiddle.net/jookyboi/ra22r/34/

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.