javascript - Restrict Bootstrap Input tags maximum 100 tags -


hi friends i'm using bootstrap tags input project , require 100 tags entered after should not allow tags entered input field .

html :

<input type="text"  class="form-control" id="skill_nameone" name="skill_name"  data-role="tagsinput"  /> 

js:

bootstrap-tagsinput.min 

css :

bootstrap-tagsinput.css 

image :

enter image description here

this input field should accommodate 100 tags . in above pic contains 7 tags .

thanks in advance .

you can limit maximum number of tags using maxtags this:

$('input').tagsinput({   maxtags: 100 }); 

Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -