This version is old school.
Please find jQuery plugins on npm.
fancyplaceholder
by Aaron Cosentino
fancyplaceholder allows text box placeholders to be retained after there is text in the field.
fancyplaceholder allows text box placeholders to be retained after there is text in the field.