This is a jQuery module that automatically manages specified labels so that they may be placed "within" the input when there is no value, or above the input when there is a value or the input has focus. It is best to use this for labels that describe textual input types.
To use, include jQuery and the Floating Label javascript code, and instantiate similarly:
$('label[for="inputName"]').FloatingLabel();
Feel free to fork this repo and submit a pull request. Thanks!
Created and maintained by Charles Hudson