Click here to Skip to main content
15,877,754 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"
Posted
Comments
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?
--SA
n.podbielski 11-Oct-12 3:17am    
This is local storage:
http://www.w3schools.com/html/html5_webstorage.asp

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

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