Utilize HTML5 DataList and jQuery Ajax to Create Autocomplete in ASP.NET MVC
Posted by: DotNetBips.com Latest Articles,
on 15 Dec 2014 |
View original | Bookmarked: 0 time(s)
In data entry forms involving textboxes with predictable values one can use autocomplete to assist user pick an existing value. HTML5 introduces datalist element that can come handy while implementing autocomplete. The datalist element holds a list of options and can be attached with a textbox using list attribute. By adding a bit of jQuery Ajax you can dynamically populate the options in a datalist. This article shows you how to do just that....