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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -