Click here to Skip to main content
14,733,542 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi i am using this autosuggested textbox .

Auto-suggest Control[^]

Problem Description:
1) i am selecting one item from this auto suggest and store this in local storage .
it is fine .Example store name " naveen"
2)Problem is that when user select another name from list and change it mind after writing some text in field say "hn".click somewhere else auto suggest is close. but i need to display that time in text field last storage example ="naveen"
Ankur\m/ 10-Oct-12 12:18pm
What do you mean by local storage? Hidden field? I don't understand your question well, but it seems you need to store previous value. You can append it to the same 'local storage' using uncommon character or set of charaters (~ or #^) and then split and extract it before you show.
ravi1989h 10-Oct-12 12:27pm
local storage mean as save data in html
Sergey Alexandrovich Kryukov 10-Oct-12 13:04pm
In what sense it's "local"? How? Any code?
n.podbielski 11-Oct-12 3:17am
This is local storage:

If you not using this, you should update your Question because it's confusing.
ravi1989h 10-Oct-12 12:28pm
local storage mean save data
ravi1989h 10-Oct-12 12:29pm

i am using this auto suggest
ravi1989h 10-Oct-12 12:31pm
i am able to store and get value in local storage but i want to override some method where i want to set value in text field
Sergey Alexandrovich Kryukov 10-Oct-12 13:04pm
OK. You need to show the code expressing your idea of "store this in local storage". A code sample, no more, no less.

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