javascript - How to add custom CSS span into a text input box ( like )?


i make same feature of stack overflow's tags selector ( 1 below ). have read chosen, stack overflow heavily inspired from. main difference of chosen , stack overflow's 1 stack overflow allows users type , auto-complete tag, while chosen can select list.

how change code of chosen's multiple select demo make similar thing stack overflow's tags selector ?

here code chosen's multiple select demo:

    <div>       <em>into this</em>               <select data-placeholder="choose country..." class="chzn-select" multiple style="width:350px;" tabindex="4">         <option value=""></option>          <option value="united states">united states</option>          <option value="united kingdom">united kingdom</option>         </select>     </div> 


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -