jquery-plugin-input-prefix

1.0.0 • Public • Published

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 :)

JSFiddle Demo!

Package Sidebar

Install

npm i jquery-plugin-input-prefix

Weekly Downloads

1

Version

1.0.0

License

GPL-3.0

Last publish

Collaborators

  • gfruleux