FloatLabel.js
FloatLabel.js copied to clipboard
float label idea
if input empty
- use only placeholder information if input are fille up:
- like now label + input
- optional take label string from placeholder="label" and exclude automatically to label
- optional take label string from input data-label="label" and exclude automaticly to label element
Hey Andrzej,
Thanks for the suggestion. I decided not to rely on HTML5 placeholder attributes because of poor Internet Explorer support - http://caniuse.com/#search=placeholder