angularjs - How to use bootstrap to automatically display users from Active Directory as I type? -


i have active directory. creating forms page in bootstrap. type in portion of name, want text box come suggestions. e.g. if type in al, should show alan, alice, alex in combo style box below , can select same using mouse click. names come active directory.

i googled fair bit, perhaps missing something. if bootstrap + ldap not right technology stack this, other lightweight web based options have? can't use c# or java.

this code may helpful using datalist tag.

      <body>       <div class="container">             <div class="row">                 <form class="form-horizontal" style="margin-top:10%;">                        <div class="form-group has-success">                             <label for="country" class="col-sm-2 control-label">select country</label>                             <div class="col-sm-2">                                 <input type="text" class="form-control" list="countryname" name="country">                                   <datalist id="countryname">                                     <div>                                        <option value="india">                                       <option value="france">                                       <option value="germany">                                       <option value="poland">                                       <option value="indonesia">                                       <option value="usa">                                       <option value="uk">                                       <option value="afghanistan">                                       <option value="denmark">                                       <option value="finland">                                           <option value="greece">                                       <option value="greenland">                                       <option value="greenland">                                       <option value="greenland">                                       <option value="greenland">                                     </div>                                      </datalist>                             </div>                       </div>                         <div class="form-group has-success">                         <div class="col-sm-offset-2 col-sm-10">                           <button type="submit"  class="btn btn-success">submit</button>                         </div>                       </div>                 </form>             </div>           </div>     </body> 

the combobox works autocompletion box.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -