Skip to content
jQuery plugin to provide input hints for text boxes
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This plugin makes it easy to provide input hints on textboxes. The style options are just hashmaps of CSS properties and their values. The preventSubmit options prevents the parent form from submitting and throws up an alert box if the value of the input element is still the initial hint value. The method call below shows the default options.

$('#hint').inputHints({ inputHint: 'hint', inputStyle: { color: '#000' }, hintStyle: { color: '#aaa' }, preventSubmit: true });
Something went wrong with that request. Please try again.