[jQuery] Re: autocomplete question

2009-10-07 Thread Bjarki
I found out there is a formatMatch function. formatMatch: function(row) { return row.N; } it's just not in the documentation On Oct 7, 10:50 am, Bjarki wrote: > I am looking at the auto-complete demo page, > (http://view.jquery.com/trunk/plugins/autocomplete/demo/) on the demo > of remote ima

[jQuery] Re: Autocomplete Question

2009-06-01 Thread Tom Worster
On 5/30/09 12:31 PM, "Marc" wrote: > I am using jquery.autocomplete in a search for schools. I have > optional fields (referenced as extraParams) which allow the user to > narrow the search to a specific state and city. > > This part works fine. If the user selects a state and city and then > i

[jQuery] Re: Autocomplete Question

2009-04-24 Thread Tom Worster
On 4/23/09 10:27 PM, "pjecty" wrote: > Is there's a way to link each seach result value in the localdata.js > to another page so that when i search for something and click it, it > goes to another page? could you write such redirection into a .result() handler? http://docs.jquery.com/Plugins/A

[jQuery] Re: Autocomplete Question

2007-04-30 Thread Dan G. Switzer, II
Jeff, >I am playing around with your suggestions below on how to implement >multiple autocomplete calls on one form using your implementation. I >have added the second argument (input) in the callback as you >suggested, but am stumped about where in the code to pass the input >reference from? I h

[jQuery] Re: Autocomplete Question

2007-04-30 Thread Jeff Fleitz
Hey Dan, I am playing around with your suggestions below on how to implement multiple autocomplete calls on one form using your implementation. I have added the second argument (input) in the callback as you suggested, but am stumped about where in the code to pass the input reference from? I hav

[jQuery] Re: Autocomplete Question

2007-04-13 Thread Jeff Fleitz
Excellent, ideas Dan. Let me give that a shot. I appreciate the effort on this, I know it was a lot to absorb. Thanks! Jeff

[jQuery] Re: Autocomplete Question

2007-04-13 Thread Dan G. Switzer, II
Jeff, First off... Wow, that's a long message and I had to read it a few times, but I think I know what you're looking for! >What I would like to do is identify some jQuery(?) variable that would >allow me to bracket some code in the findValue() function, so that if >the field value being evalua

[jQuery] Re: Autocomplete Question

2007-04-12 Thread Jeff Fleitz
Hi Dan, guess I'll jump in real quick while the iron is hot. I too am a noob to jQuery and Ajax stuff in general. I borrowed your autocomplete example (and downloaded your recent presentation to check out the other stuff), and I have it working great, including passing the hidden id value, etc. A

[jQuery] Re: Autocomplete Question

2007-04-10 Thread Dan G. Switzer, II
Jim, >Say that in English :) > >I've got my form setup just like the example - I'm passing in my data >along with the pipe and the primary ID. When I select the item and >click the form button I get an alert with the ID. > >I'm guessing I need to remove the alert and somehow alter that so it >po

[jQuery] Re: Autocomplete Question

2007-04-10 Thread Priest, James \(NIH/NIEHS\) [C]
> -Original Message- > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] > Just remember that if you call the findValue() on the field's > onBlur event > that due to the asynchronous nature, that unless you program > something in to > handle it, a user could potentially submit a form

[jQuery] Re: Autocomplete Question

2007-04-10 Thread Dan G. Switzer, II
Jim, >Quick question - how do you move the selected value into a hidden form >field? Use the findValue() method to look up the data in the input element. How you trigger it is up to you, but remember that the findValue() is an asynchronous event--so you must define the onFindValue mapping in ord

[jQuery] Re: Autocomplete Question

2007-04-10 Thread Priest, James \(NIH/NIEHS\) [C]
er, II [mailto:[EMAIL PROTECTED] > Sent: Monday, April 09, 2007 4:41 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Autocomplete Question > > > >>http://www.dyve.net/jquery/autocomplete.txt > > > >I'll try to combine my changes w/Dylan's instru

[jQuery] Re: Autocomplete Question

2007-04-09 Thread Dan G. Switzer, II
>>http://www.dyve.net/jquery/autocomplete.txt > >I'll try to combine my changes w/Dylan's instructions today and post >something. Here are my modified directions: http://www.pengoworks.com/workshop/jquery/autocomplete_docs.txt There's a link in the Download section on this page: http://www.pengo

[jQuery] Re: Autocomplete Question

2007-04-09 Thread Dylan Verheul
Jim, there's also some examples on www.dyve.net/jquery?autocomplete, those will also work with Dan's modifications. My jQuery plugins are my first open source / code sharing experience, it's really fun to see stuff like this (other people improving on it) happen. On 4/9/07, Priest, James (NIH/N

[jQuery] Re: Autocomplete Question

2007-04-09 Thread Priest, James \(NIH/NIEHS\) [C]
> -Original Message- > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] > My mod is 95% Dylan's code, with just some bug fixes and a > few additional > features. I apologize for the lack of documentation. No problem!! And I'll apologize in advance for how badly I'm probably going t

[jQuery] Re: Autocomplete Question

2007-04-09 Thread Dan G. Switzer, II
Jim, >Dan - are you changing code or just the instructional text?? I was just going to take Dylan's instructions and add my changes/addition/notes to them. My mod is 95% Dylan's code, with just some bug fixes and a few additional features. I apologize for the lack of documentation. -Dan

[jQuery] Re: Autocomplete Question

2007-04-09 Thread Priest, James \(NIH/NIEHS\) [C]
> -Original Message- > From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] > >http://www.dyve.net/jquery/autocomplete.txt > > I'll try to combine my changes w/Dylan's instructions today and post > something. Dan - are you changing code or just the instructional text?? I'm actually read

[jQuery] Re: Autocomplete Question

2007-04-09 Thread Dan G. Switzer, II
Guys, >http://www.dyve.net/jquery/autocomplete.txt I'll try to combine my changes w/Dylan's instructions today and post something. -Dan

[jQuery] Re: Autocomplete Question

2007-04-07 Thread Dylan Verheul
Oh, and use Dan's version, he squashed a few bugs and added cool things :-) On 4/8/07, Dylan Verheul <[EMAIL PROTECTED]> wrote: http://www.dyve.net/jquery/autocomplete.txt (sorry to be this brief, it's 5:50am here) On 4/7/07, Shelane <[EMAIL PROTECTED]> wrote: > > One more thing I forgot to m

[jQuery] Re: Autocomplete Question

2007-04-07 Thread Dylan Verheul
http://www.dyve.net/jquery/autocomplete.txt (sorry to be this brief, it's 5:50am here) On 4/7/07, Shelane <[EMAIL PROTECTED]> wrote: One more thing I forgot to mention. In this example here, I'm only returning 2 values within the found data. There are cases where I might want to pass back 5

[jQuery] Re: Autocomplete Question

2007-04-07 Thread Shelane
One more thing I forgot to mention. In this example here, I'm only returning 2 values within the found data. There are cases where I might want to pass back 5 different pieces of info (address, city, state, etc), but maybe only show 1 or 2 of those items for the user to see in the drop down. Ma

[jQuery] Re: Autocomplete Question

2007-04-07 Thread Shelane
I see examples but no actual documentation for this plug-in or the orignial from Dylan Verheul. I would love to get rid of my scriptaculous uses of autocomplete, but I have yet to figure out how to match what I do there with Dan's or Dylan's plug-in for jQuery. So my questions for these plug-ins

[jQuery] Re: Autocomplete Question

2007-04-05 Thread [EMAIL PROTECTED]
Great. This is very good news. Thanks Dan. Rp On Apr 5, 10:40 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > Randy, > > >For those using Dan Switzer autocomplete module based on Dylan > >Verheul's plug-in, how do the db calls work once a connection is > >opened with the ajax option? For i

[jQuery] Re: Autocomplete Question

2007-04-05 Thread Dan G. Switzer, II
Randy, >For those using Dan Switzer autocomplete module based on Dylan >Verheul's plug-in, how do the db calls work once a connection is >opened with the ajax option? For instance, if I set the minChars:2 and >type in Jo, it queries all cities that start with Jo. But what happens >as I contitue t