0

I have this code <input type="text" value="destroy" AUTOCOMPLETE="on" /> to enable autocomplete, but it is not working.

Can u tell me any suggestions?

Shadow The Vaccinated Wizard
  • 62,584
  • 26
  • 129
  • 194
priya
  • 521
  • 2
  • 5
  • 11

3 Answers3

1

Auto complete is browser based and should be turned on by default. But usually they only store values that were submitted.

BTW here's an old SO post about autocomplete (just for fun)

Community
  • 1
  • 1
Ólafur Waage
  • 64,767
  • 17
  • 135
  • 193
1

Depends what you are trying to achieve. The autocomplete you used serves to offer user a choice from what the user himself typed before.

If you want autocomplete such like search engines have, where user is suggested a number of choices he never typed, then you need to use javascript, and also store somewhere data with autocomplete suggestions.

Here's an example:

http://www.pengoworks.com/workshop/jquery/autocomplete.htm

CodeVirtuoso
  • 5,702
  • 12
  • 43
  • 59
0
AUTOCOMPLETE="on"

This property is only used by Microsoft Internet Explorer and the default is on. You should only use it to turn it off. If the user turns it off in their browser you can't use it.

Corey
  • 257
  • 1
  • 4
  • 13
  • If is it so then is there any option to achive autocomplete functionality in my textbox.? – priya Feb 16 '11 at 11:42