umrani.github.io

This is a Jquery plugin to add multiple text fields to document. for example- you want to add hobbies of user.so user can add any number of hobbies with multiple input boxes

How to run:

1. just clone this repo and run index.html

How to use

1. create a div (
< div id="hobby">
) element and inside it create your
 < input type="text"> 

2. now initialize plugin to the div element
$('#hobby').multiInput();

3. Done !!!

You can also pass additional options to plugin settings

1. plusBtnClass: it will add class to the Plus button, you can write custom class name.default is btn-default
2. minusBtnClass it will add class to the Minus button, you can write custom class name.default is btn-default
2. maxInput it will allow max textfields to be created. default is 5