Click here to Skip to main content
15,920,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i need to create a textBox on web form using Autocomplete of HTML 5 I arrive to this but i need to be selected on text change for exemple if i have a table containing Rami, john, when i tap ram i need to select rami by auto complete(if there's any way without using ajax):
<!DOCTYPE html>




<input list="Students" name="DPS" />

<datalist id="Students">

  <option value="Ram">

  <option value="Mahak">

  <option value="Kajal">

  <option value="Pihu">




Updated 9-Apr-12 1:43am

You have many options like JQuery AutoComplete PlugIn, AJAX autocomplete extender, AJAX Autoomplete using JQuery.
Share this answer
bashar Haydar 10-Apr-12 3:37am    
for your interest can you give an example of a plugin on autocomplete
Angel1320 10-Apr-12 8:23am    
yes, Jquery AutoComplete PlugIn works as below

$(function() {
var availableTags = [
$( "#tags" ).autocomplete({
source: availableTags

<div class="ui-widget">
<label for="tags">Tags: </label>
<input id="tags" />
Angel1320 10-Apr-12 8:24am    
If you want to use AJAX AutoComplete Extender refer this :
read this

AutoComplete Textbox[^]
Share this answer
Hi ,
you should use ajax AutoCompleteExtender[^]
Best regards
Share this answer
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900