Hi, Thanks for your reply. Can you please confirm that if I have a file called mydata.js that includes the following: var mydata = [ "TownOne, County", "Town Two, County", "Town Three, County", "TownFour, County", .... ]; that using item.replace(...) as suggested will for example ensure: 1. Town Two, County will be shown in the prompt list if the user types Town Two C or Town Two Co etc... OR TownFour, County will be shown in the prompt list if the user types TownFour C or TownFour Co etc... Sorry to ask this extra question it must be the New Year my brain is still in Christmas mode... Thanks again Andrew
_____ From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Md. Ali Ahsan Rana Sent: 04 January 2010 08:33 To: jquery-en@googlegroups.com Subject: Re: [jQuery] Autocomplete loop through all the items in array and use item.replace(",","',") this should be ok now... -- http://ranacseruet.blogspot.com/