jquery-plugin-input-prefix
jQuery plugin for input with prefix text
Install: use the data "data-prefix" with your inputs
Minimal requirements: jQuery 2.X
Exemple:
<input type="text" id="foo" name="bar" data-prefix="prefix" />
This plugin allows you to set a fix value as a prefix inside an input. No more "magic tricks" with span and styling !
The value is not erased and then rewrited, the plugin prevent to delete letters from the prefix :)