Click here to Skip to main content
15,910,872 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
i am using this auto suggest text box
http://jqueryui.com/demos/autocomplete/[^]

when i click on text field it show all item . but i want to display on 10 item or limited item .

can this is possible?

example :
[^]

they used this
this.actb_lim = 4;
mean 4 elemt is disply

i want same functionality on
http://jqueryui.com/demos/autocomplete/[^]
this
Posted

1 solution

As far as i remember it shows as many items as the source returns. So if you want to show maximum of 10 items, only return 10 items at max.
 
Share this answer
 
v2
Comments
ravi1989h 3-Oct-12 4:32am    
can you please tell me where i want to do change..

i think you are right
Zoltán Zörgő 3-Oct-12 4:43am    
You have to change on server side, at the point where the autocomplete ajax call is served.
ravi1989h 3-Oct-12 4:57am    
it is not possible
huotari 3-Oct-12 4:59am    
What do you mean?
huotari 3-Oct-12 5:00am    
Do you not have access to the server side code?

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