Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I need autocomplete textbox like Quora Search. I mean autocomplete value with link.Whenever user will click on autocomlete text it will redirect to related link.


It's urgent.Please help.
Thanks.

What I have tried:

I have tried jqueryui link and tried to follow the sam way but
when i put html in array it show same text but i wanna show ActionScript instead of value inside anchor tag like ActionScript with search value.

var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C"
];

I think, i can do it in onkeyup.
Posted
Updated 3-Mar-16 1:17am
v4

1 solution

Please refer the below link it is as per your requirement...where you can add html in your autocomplete li tag by "_renderItem"...

Autocomplete | jQuery UI[^]
 
Share this answer
 
Comments
itsathere 4-Mar-16 9:48am    
Your idea is quite good but i have done it by onkeyup method.

Thanks.
Amit Jadli 4-Mar-16 23:22pm    
That's good... cheers..

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