[jQuery] Re: Autocomplete plugin

2007-04-23 Thread James Trix
Sorry Dan I think I keep jumping between the different implementations of the Autocomplete mod at the end of the day its a great addon to Jquery thanks for your time to kill the bugs James On 4/24/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: You're using Joern's mod. I know not all the

[jQuery] Re: Autocomplete plugin

2007-04-23 Thread James Trix
Thanks Dan its aways the simple things that get me stuck, I did not even think to check the Autocomplete code untill I had hit my head on the wall a few times and then it was so simple. The SQL is quite fast but not as fast as the array but I will see if I can do any thing with the database to spee

[jQuery] Re: Autocomplete plugin

2007-04-23 Thread James Trix
Aways the simple things changed Response.Write trim(objRS.Fields ("LOC")) & chr(13) to Response.Write objRS.Fields("LOC") & vbcrlf And it worked fine :-) On 4/23/07, James Trix <[EMAIL PROTECTED]> wrote: Well I ported the search code to asp as the server

[jQuery] Re: Autocomplete plugin

2007-04-22 Thread James Trix
Well I ported the search code to asp as the server is windows based and also now also use SQL to hold the data as per the ideas from last week but I have a problem. I can run search.asp?q=ABC or search.php?q=ABC and both will output what appears to be the same even down to the byte count. but whe

[jQuery] Re: Autocomplete plugin

2007-04-19 Thread James Trix
how I get on. Thanks for every ones help. On 4/19/07, Priest, James (NIH/NIEHS) [C] <[EMAIL PROTECTED]> wrote: > > > > -Original Message----- > > From: James Trix [mailto:[EMAIL PROTECTED] > > Sent: Thursday, April 19, 2007 7:31 AM > > To: jquery-en@googl

[jQuery] Re: Autocomplete plugin

2007-04-19 Thread James Trix
Hi Dan as you can tell I am still a bit new to all this programming thing I have limited the number of results returned to 10 and set the number of char needed before a query is made is set to 2, as I also need users to be able to search by the postcode eg "CHATSWOOD WEST NSW 2067" the user might

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread James Trix
Hi Dan I found your code examples just after posting the last message and then just used your php file as an example to copy from. I added the 31348 towns to the file and it is about 694 KB but seems to run ok. so should be able to stay with that. I just now have to work on the style sheet to make

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread James Trix
Hi Dan I did try doing this in cold fusion but it looks like there is a limit on how big your script can be as it gets turned in to a class file. I will setup php on the server but is there any way to get your copy of search.php as I dont program in php and would like to see how to pass a query s

[jQuery] Re: Autocomplete plugin

2007-04-17 Thread James Trix
because I am searching through towns and postcode (zip codes) for Australia some post codes are as short as 2/3 char so I need to keep it set to 3 but just return a maxium of 10 results. When you enter the postcode (zipcode) you would get no more than about 4 results. So because of the large data