USE JQUERY TOKENINPUT AUTOCOMPLETE .

Ankit Singh

Total Post:341

Points:2389
Posted by  Ankit Singh
JQuery 
 1052  View(s)
Ratings:
Rate this:
We want to  jQuery Tokeninput Autocomplete  in a textbox  how to use this please help me.
  1. aditya kumar Patel

    Post:254

    Points:1810
    Re: Use jQuery Tokeninput Autocomplete .

    Here we are going to use jQuery Tokeninput Autocomplete     in a text box .  first download jquery.tokeninput.js

    from  http://loopj.com/jquery-tokeninput/ . and use like below code.

    @{

    ViewBag.Title = "index";

    }

    <link href="~/Content/token-input.css" rel="stylesheet" />

    <link href="~/Content/token-input-facebook.css" rel="stylesheet" />

    <script src="~/Scripts/jquery-2.1.4.min.js"></script>

    <script src="~/Scripts/jquery.tokeninput.js"></script>

    <div>

    <input type="text" id="SelectEmployee" name="blah" />

    <script type="text/javascript">

    $(document).ready(function () {

    $("#SelectEmployee").tokenInput("/Home/GetEmp");

    });

    </script>

    </div>

     

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!