[jQuery] Re: Autocomplete plugin compatability with jQuery 1.4?

2010-02-01 Thread Anthony
Hi, Thanks for your responses. Can I ask 1 follow up question... Bearing in mind this has now been integrated into jQuery UI 1.8rc1, is it safe to assume that there any no plans to make the old version 1.1 of the 'Autocomplete' plugin compatible with jQuery 1.4? The reason I ask is that it

Re: [jQuery] Re: Autocomplete plugin compatability with jQuery 1.4?

2010-02-01 Thread Jörn Zaefferer
I've replied on that here: http://forum.jquery.com/topic/1-8rc1-autocomplete-search-options So far I don't plan to update the standalone plugin, though if you can provide a patch for 1.4 compability, I'd push out another release. Jörn On Mon, Feb 1, 2010 at 3:32 PM, Anthony antray...@gmail.com

Re: [jQuery] Re: Autocomplete plugin compatability with jQuery 1.4?

2010-01-31 Thread Jose
On Fri, Jan 29, 2010 at 1:38 AM, Richard D. Worth rdwo...@gmail.com wrote: The latest version is jQuery UI Autocomplete, and it is compatible with jQuery 1.4. You can find it in jQuery UI 1.8rc1: http://blog.jqueryui.com/2010/01/jquery-ui-1-8rc1/ Is the UI autocomplete based on Jörn's

Re: [jQuery] Re: Autocomplete plugin compatability with jQuery 1.4?

2010-01-31 Thread Richard D. Worth
Yes, and yes. On Sun, Jan 31, 2010 at 3:41 PM, Jose jmal...@gmail.com wrote: On Fri, Jan 29, 2010 at 1:38 AM, Richard D. Worth rdwo...@gmail.com wrote: The latest version is jQuery UI Autocomplete, and it is compatible with jQuery 1.4. You can find it in jQuery UI 1.8rc1:

[jQuery] Re: Autocomplete plugin compatability with jQuery 1.4?

2010-01-28 Thread dirk.diggler
Anthony, The short answer would appear to be no, it's not compatible. To be fair, I'm running a slightly tweaked version of the plugin, so its entirely possible the incompatibility is something I introduced. This seems unlikely, though, since Firebug never even hits the breakpoint I've set in

Re: [jQuery] Re: Autocomplete plugin compatability with jQuery 1.4?

2010-01-28 Thread Richard D. Worth
The latest version is jQuery UI Autocomplete, and it is compatible with jQuery 1.4. You can find it in jQuery UI 1.8rc1: http://blog.jqueryui.com/2010/01/jquery-ui-1-8rc1/ - Richard On Thu, Jan 28, 2010 at 6:44 PM, dirk.diggler mitch.ab...@gmail.com wrote: Anthony, The short answer would

[jQuery] Re: autocomplete plugin not working in firefox

2009-12-30 Thread MorningZ
Do you have FireBug installed (you should!) to see if the plugin at least tries to make the request? http://www.getfirebug.com On Dec 30, 8:23 pm, mary ann marya...@gmail.com wrote: I'm using the autocomplete plugin.  The following script works in IE, but doesn't work in Firefox.  It doesn't

[jQuery] Re: autocomplete plugin not working in firefox

2009-12-30 Thread mary ann
Hi, good idea. I've now got Firebug and it does not show anything relating to autocomplete. Its like the scripts never get run at all. But in ie, its fine. Thanks for your help. On Dec 30, 6:19 pm, MorningZ morni...@gmail.com wrote: Do you have FireBug installed (you should!) to see if the

[jQuery] Re: Autocomplete plugin: results as table?

2009-10-14 Thread Maarten
On 12 okt, 18:35, alexbodn.gro...@gmail.com wrote: hello maarten, your attempt sounds interesting. could you give public access to these urls? Hello Alex, Sure, apparently some server settings were changed in the weekend but you can now access my demo at:

[jQuery] Re: Autocomplete plugin: results as table?

2009-10-14 Thread alexbodn . groups
it's great indeed :) On Wed, Oct 14, 2009 at 10:34, Maarten maartenwie...@gmail.com wrote: On 12 okt, 18:35, alexbodn.gro...@gmail.com wrote: hello maarten, your attempt sounds interesting. could you give public access to these urls? Hello Alex, Sure, apparently some server settings were

[jQuery] Re: Autocomplete plugin: results as table?

2009-10-12 Thread alexbodn . groups
hello maarten, your attempt sounds interesting. could you give public access to these urls? On Wed, Oct 7, 2009 at 18:08, Maarten maartenwie...@gmail.com wrote: http://autocompleter.mwierda.blackpearl.minus3.nl/demo/table.html type in 'c' for a grouped result, using a TABLE for the layout.

[jQuery] Re: Autocomplete plugin: results as table?

2009-10-07 Thread Maarten
http://autocompleter.mwierda.blackpearl.minus3.nl/demo/table.html type in 'c' for a grouped result, using a TABLE for the layout. its mostly the fillList that's altered, see: http://autocompleter.mwierda.blackpearl.minus3.nl/jquery.autocomplete.js please let me know if this was helpful or if

[jQuery] Re: Autocomplete plugin - customization

2009-09-14 Thread Dhruva Sagar
Hi, Which autocomplete plugin are you using ? Thanks Regards, Dhruva Sagar. Mike Ditka http://www.brainyquote.com/quotes/authors/m/mike_ditka.html - If God had wanted man to play soccer, he wouldn't have given us arms. On Mon, Sep 14, 2009 at 1:57 PM, Althalos g...@ekdahlproduction.com

[jQuery] Re: Autocomplete plugin - customization

2009-09-14 Thread alexbodn . groups
if i understand you correctly, using the result trigger (google for it) may do the whole job. On Mon, Sep 14, 2009 at 11:27, Althalos g...@ekdahlproduction.com wrote: Hi I'm trying to make a custom hack to the autocomplete plugin. I want it so that when you select a suggestion I can separate

[jQuery] Re: Autocomplete plugin - Hide completion list on Enter

2009-09-08 Thread janid1967
Found solution myself. I'm using onkeypress=return checkEnter(this,event); on the autocompletion input field. The checkEnter function is taken from http://jennifermadden.com/javascript/stringEnterKeyDetector.html Inside checkEnter, I'm running this code to hide any autocompletion div's:

[jQuery] Re: Autocomplete plugin for multiple form fields from a JSON source [autocomplete]

2009-04-17 Thread Tom Worster
On 4/16/09 6:44 PM, tatlar robertlnew...@gmail.com wrote: So, I got around this by creating another JSON file that is just an array of station names. Autocomplete now parses this just fine, and my first field is completed. The next part was more tricky - how to populate the second input

[jQuery] Re: Autocomplete plugin for multiple form fields from a JSON source [autocomplete]

2009-04-16 Thread tatlar
Hi Tom, Thanks for the ideas. Unfortunately there is a fundamental issue with my JSON file that I returning and how the autocomplete plugin handles input. The JSON file is an object. Jorn's autocomplete plugin only handles arrays (see here:http://docs.jquery.com/Plugins/Autocomplete). Notice

[jQuery] Re: Autocomplete plugin for multiple form fields from a JSON source [autocomplete]

2009-04-15 Thread Tom Worster
On 4/15/09 2:27 PM, tatlar robertlnew...@gmail.com wrote: I am using Jorn's awesome autocomplete plugin in one form field to allow a user to quickly narrow down which station they wish to view visit times for. However, it would be really cool to extend this so that when the selection is

[jQuery] Re: Autocomplete plugin for multiple form fields from a JSON source [autocomplete]

2009-04-15 Thread tatlar
Hi Tom, Thanks for the reply. It is the former. I am perfectly comfortable with parsing JSON formatted data. I would be very happy to read what you have been working on. Best regards. On Apr 15, 4:47 pm, Tom Worster f...@thefsb.org wrote: On 4/15/09 2:27 PM, tatlar robertlnew...@gmail.com

[jQuery] Re: Autocomplete plugin for multiple form fields from a JSON source [autocomplete]

2009-04-15 Thread Tom Worster
i have an ajax backend onto a mysql table with about 25 million rows, including three searchable indexed text columns. i want a form with three text input fields, each with autocomplete. 1) if all fields are blank when the user starts to type into one of them then normal autocomplete happens on

[jQuery] Re: Autocomplete plugin for multiple form fields from a JSON source [autocomplete]

2009-04-15 Thread tatlar
Thanks Tom! Digesting now feedback after checking it out. Much obliged. On Apr 15, 5:40 pm, Tom Worster f...@thefsb.org wrote: i have an ajax backend onto a mysql table with about 25 million rows, including three searchable indexed text columns. i want a form with three text input fields,

[jQuery] Re: Autocomplete plugin for multiple form fields from a JSON source [autocomplete]

2009-04-15 Thread tatlar
Thanks Tom! Digesting now feedback after checking it out. Much obliged. On Apr 15, 5:40 pm, Tom Worster f...@thefsb.org wrote: i have an ajax backend onto a mysql table with about 25 million rows, including three searchable indexed text columns. i want a form with three text input fields,

[jQuery] Re: autocomplete plugin with extraparams and onSelectItem

2009-02-24 Thread flanders
Hello MorningZ, thank you for this information! result is the best way! but i have yet another question:) how i can use the incoming Values? the javascript variable data is empty... in which variable are the incomming values of my php-script? On Feb 23, 4:33 pm, MorningZ morni...@gmail.com

[jQuery] Re: autocomplete plugin with extraparams and onSelectItem

2009-02-23 Thread flanders
Hello MorningZ, I had tried the plugin from bassistance.de, but it has not onselecteditem or something like that. Now i have a workaround:) i modified the jquery.autocomplete.js from bassistance.de. Here my workaround: function selectCurrent() { var selected = select.selected();

[jQuery] Re: autocomplete plugin with extraparams and onSelectItem

2009-02-23 Thread MorningZ
but it has not onselecteditem or something like that sure it does, it's the .result event http://docs.jquery.com/Plugins/Autocomplete/result#handler So $(#textbox1).autocomplete( location of remote page, { extraPArams: { var1: foo } }).result(function(a, data, b) { data = + data;

[jQuery] Re: autocomplete plugin with extraparams and onSelectItem

2009-02-20 Thread MorningZ
I'd guess judging by the options you list that you were looking at Jorn's plugin @ bassistance.de it does both extraParams and onSelectItem simultaneously On Feb 20, 10:08 am, flanders mdy...@gmail.com wrote: Hello Group, i need an Autocomplete Plugin for jQuery. The Plugin have to

[jQuery] Re: autocomplete plugin by bassistance - loading of huge number of records

2009-01-29 Thread Jörn Zaefferer
I recommend hard limiting the items loaded from the server, in combination with scrolling. For example, load 100 items (should be fast enough), but display only 10. The other 90 can be checked by scrolling, while it is rather obvious that its easier to reduce the list by typing more. Jörn On

[jQuery] Re: autocomplete plugin by bassistance - loading of huge number of records

2009-01-29 Thread tain
if there is a callback function too filllist() and it should be maybe you should add 50 rows then show it, then in callback add another 50 and so on. On Jan 29, 9:28 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: I recommend hard limiting the items loaded from the server, in

[jQuery] Re: autocomplete plugin by bassistance - loading of huge number of records

2009-01-29 Thread Saumin
Hi Jörn Thanks for your quick response. Would you have some sample code to do that? It would be great if you can point me in a direction with respect to jquery.autocomplete.js. I appreciate it. Saumin On Jan 29, 3:28 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: I recommend hard

[jQuery] Re: autocomplete plugin by bassistance - loading of huge number of records

2009-01-29 Thread James Hughes
(English) Subject: [jQuery] Re: autocomplete plugin by bassistance - loading of huge number of records Hi Jörn Thanks for your quick response. Would you have some sample code to do that? It would be great if you can point me in a direction with respect to jquery.autocomplete.js. I appreciate

[jQuery] Re: Autocomplete plugin rare behaviour

2009-01-16 Thread Abba
I am having similar problems that the data is not populated all the times even though the server request is executed. Did you get an answer tor figure out the issue? I am using IE 7 Abba On Dec 31 2008, 2:14 am, R0bb13 robertorebo...@gmail.com wrote: Hi I'm using theautocompleteplugin to

[jQuery] Re: Autocomplete plugin rare behaviour

2009-01-02 Thread R0bb13
Ok, this is my script and the piece of html that is related to it. The HTML: ... input autocomplete=off id=productname name=productname value=Televisión LCD LG 42 pulgadas 42LG3000 class=value big ac_input type=text ... The JS code: $(#productname) .autocomplete(ax/suggest.html, {

[jQuery] Re: Autocomplete plugin rare behaviour

2008-12-31 Thread R0bb13
The text input has an initial value but the autocomplete does not care about it. Sometimes it works and some times it doesn't. However the ajax requests for the text in the input is done but the results are not displayed under the input.

[jQuery] Re: Autocomplete plugin rare behaviour

2008-12-31 Thread brian
On Wed, Dec 31, 2008 at 5:29 AM, R0bb13 robertorebo...@gmail.com wrote: The text input has an initial value but the autocomplete does not care about it. Sometimes it works and some times it doesn't. However the ajax requests for the text in the input is done but the results are not displayed

[jQuery] Re: Autocomplete plugin rare behaviour

2008-12-30 Thread brian
On Wed, Dec 31, 2008 at 2:14 AM, R0bb13 robertorebo...@gmail.com wrote: Hi I'm using the autocomplete plugin to edit the name of a product in a CMS. When the name field (with autocomplete) is empty the autocomplete works perfectly. However when the field is not empty and you remove the

[jQuery] Re: autocomplete plugin - newbie question

2008-12-02 Thread Jörn Zaefferer
There isn't a XML example, but it should be possible to adapt this json example: http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/json.html Basically replace the dataType and change the parsing code. You can still use jQuery to convert the xml response to JavaScript objects. See for

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-22 Thread Ca Phun Ung
andrejk wrote: Seems to be something with the jquery ui downloads. If i select build your download on the jquery ui site, select all packages, minimized version, and use that, autocomplete works. If i select the development bundle and use jquery.ui.all or jquery.ui.all.min, autocomplete

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-22 Thread Aaron Heimlich
On Fri, Aug 22, 2008 at 12:42 AM, Ca Phun Ung [EMAIL PROTECTED] wrote: The development version of UI introduced a new autocomplete widget (ui.autocomplete). jQuery UI 1.6's autocomplete widget is actually a port of Jorn Zaefferer's Autocomplete plugin[1]. The API has probably changed some to

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread MorningZ
fixes the problem. Other than doesn't work, what is the problem (what does firebug tell you?)

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread andrejk
Nothing works, and no errors in the firebug console. I think autocomplete doesn't get any events when i enter something in the input field. It's like i didn't enable autocomplete on the field. On Aug 21, 5:31 pm, MorningZ [EMAIL PROTECTED] wrote: fixes the problem. Other than doesn't work,

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread larksys
I'm at the same place you are. I don't get it. My code looks very similar to yours.

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread MorningZ
Hmmm i got this to work just fine... perhaps differences in ui.js (as you can see, mine is right off the official site) ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; head

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread andrejk
Seems to be something with the jquery ui downloads. If i select build your download on the jquery ui site, select all packages, minimized version, and use that, autocomplete works. If i select the development bundle and use jquery.ui.all or jquery.ui.all.min, autocomplete doesn't work. On Aug

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-21 Thread MorningZ
Maybe get the dev version and pack it yourself (http:// dean.edwards.name/packer/) would be worth a shot

[jQuery] Re: Autocomplete plugin: Modifying how the input JSON is read

2008-07-25 Thread Jörn Zaefferer
Take a look at the source code on this example: http://jquery.bassistance.de/autocomplete/demo/json.html Jörn On Tue, Jul 22, 2008 at 10:29 AM, Magnus [EMAIL PROTECTED] wrote: Hi, I use the autocomplete plugin, but don't have a JSON that consists of an simple array with the results. I get

[jQuery] Re: Autocomplete Plugin: Expand DIV with image and link

2008-07-15 Thread Michèle
Hi Jörn Ok, I'll mail you the link. Michèle

[jQuery] Re: Autocomplete Plugin: Expand DIV with image and link

2008-07-14 Thread Jörn Zaefferer
Currently there is no option that allows you to customize the select markup. You'd have to edit the sourcecode directly. If you create a patch for that, I'll look at it and consider implementing it in the plugin. Jörn On Mon, Jul 14, 2008 at 12:08 PM, Michèle [EMAIL PROTECTED] wrote: Hi! I'm

[jQuery] Re: Autocomplete Plugin: Expand DIV with image and link

2008-07-14 Thread Michèle
Hi Jörn Many thanks for your answer. I have added the code with element.append to the sourcecode. Unfortunately I am not familiar with the jquery Syntax and have no idea how to create a patch for this. Best regards Michèle

[jQuery] Re: Autocomplete Plugin: Expand DIV with image and link

2008-07-14 Thread Jörn Zaefferer
Well, the modified file together with a demo/test page would be helpful, too. Just the modifications alone make it difficult to properly test the implementation. Jörn On Mon, Jul 14, 2008 at 8:00 PM, Michèle [EMAIL PROTECTED] wrote: Hi Jörn Many thanks for your answer. I have added the

[jQuery] Re: Autocomplete plugin problem please help

2008-06-23 Thread Jaswinder
didnt work :( On Jun 12, 4:10 pm, NichlasBrodegaardLarsson [EMAIL PROTECTED] wrote: Its pretty hard to read the code, but you need to close your $ (document).ready(function(){ Your code: script $(document).ready(function(){ var data = [ {text:'Link A', url:'http://www.jquery.com/'},

[jQuery] Re: Autocomplete plugin problem please help

2008-06-12 Thread NichlasBrodegaardLarsson
Its pretty hard to read the code, but you need to close your $ (document).ready(function(){ Your code: script $(document).ready(function(){ var data = [ {text:'Link A', url:'http://www.jquery.com/'}, {text:'Link B', url: 'http://docs.jquery.com/Plugins/

[jQuery] Re: Autocomplete plugin modifications

2008-04-29 Thread Jörn Zaefferer
Corey Coto schrieb: Thanks Jörn! I created: http://dev.jquery.com/ticket/2756 http://dev.jquery.com/ticket/2757 Thanks, that helps a lot! Jörn

[jQuery] Re: [Autocomplete Plugin 1.0] Use of *.css files

2008-04-29 Thread Jörn Zaefferer
dineshv schrieb: The autocomplete plugin comes with two css files - main.css and jquery.autocomplete.css. I'm guessing that the main.css is for the demo script only - is that right? What is the jquery.autocomplete.css used for and is it necessary? The reason for asking is that I'm getting a

[jQuery] Re: [Autocomplete Plugin 1.0] Use of *.css files

2008-04-29 Thread Jörn Zaefferer
Jörn Zaefferer schrieb: dineshv schrieb: The autocomplete plugin comes with two css files - main.css and jquery.autocomplete.css. I'm guessing that the main.css is for the demo script only - is that right? What is the jquery.autocomplete.css used for and is it necessary? The reason for

[jQuery] Re: Autocomplete plugin modifications

2008-04-28 Thread Jörn Zaefferer
Corey Coto schrieb: Hi, I made a couple of modifications to the jQuery Autocomplete plugin (Release 1.0). I am using the plugin on a multiple entry field and quering a web service. [...] These all look good. Could you create tickets for them? http://dev.jquery.com/newticket A usage example

[jQuery] Re: Autocomplete plugin modifications

2008-04-28 Thread Corey Coto
Thanks Jörn! I created: http://dev.jquery.com/ticket/2756 http://dev.jquery.com/ticket/2757 On Apr 28, 1:50 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Corey Cotoschrieb: Hi, I made a couple of modifications to the jQuery Autocomplete plugin (Release 1.0). I am using the plugin on a

[jQuery] Re: Autocomplete Plugin Issue With IE6

2007-07-16 Thread Jeff Fleitz
Will do what you suggested and get back to you. On Jul 12, 4:18 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Jeff Fleitz wrote: So, for all you gurus out there, how do you track down this type of issue in IE6? Since Firebug doesn't report an error, that doesn't help. Do you use other

[jQuery] Re: Autocomplete Plugin Issue With IE6

2007-07-12 Thread Jörn Zaefferer
Jeff Fleitz wrote: So, for all you gurus out there, how do you track down this type of issue in IE6? Since Firebug doesn't report an error, that doesn't help. Do you use other http proxies like Fiddler? I've experienced a weird issue with IE6 and a mix of event delegation and custom

[jQuery] Re: Autocomplete plugin

2007-05-18 Thread Jose
On 5/18/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi Brian and Shelane, the quietness isn't really a bad thing. Most of the stuff that we got requests for has been implemented. And those that come in more slowly give us the foundation for further improvments that need more time. In the

[jQuery] Re: Autocomplete plugin

2007-05-18 Thread Jörn Zaefferer
Shelane Enos wrote: I can't find the message that contained the link to the most current version. Can you send that again (I see the one on your website isn't the most up-to-date). Are you looking for this? http://dev.jquery.com/browser/trunk/plugins/autocomplete/ -- Jörn Zaefferer

[jQuery] Re: Autocomplete plugin

2007-05-17 Thread Jörn Zaefferer
Hi Brian and Shelane, the quietness isn't really a bad thing. Most of the stuff that we got requests for has been implemented. And those that come in more slowly give us the foundation for further improvments that need more time. In the meantime I've been heavily busy with other stuff, and

[jQuery] Re: Autocomplete plugin

2007-05-17 Thread Shelane Enos
I can't find the message that contained the link to the most current version. Can you send that again (I see the one on your website isn't the most up-to-date). On 5/17/07 3:05 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi Brian and Shelane, the quietness isn't really a bad thing. Most

[jQuery] Re: autocomplete plugin - filtering a table

2007-05-14 Thread Dan G. Switzer, II
Jose, would it be possible to have an option so that the result output is a table instead of a list ? This is useful when you just want to filter a table (or use the table row to select fields for a form). You can use the formatItem mapping to map to a function to use to generate the formatting

[jQuery] Re: autocomplete plugin - filtering a table

2007-05-14 Thread Jose
On 5/14/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: You can use the formatItem mapping to map to a function to use to generate the formatting for each row. While your output will still be wrapped in a li /, you could generate div / tags to emulate a tabular layout. Yes, this works.

[jQuery] Re: Autocomplete plugin

2007-05-11 Thread Dan G. Switzer, II
Brian, How would I go about creating a button/anchor to put next to a field with an autocompleter, that will cause the selection list (with all of its values) to appear? At the moment there's no external hooks that will allow you to do this. All the hide/show functions are private declarations.

[jQuery] Re: Autocomplete plugin

2007-05-11 Thread Brian Miller
Dan, I'm essentially trying to replicate a combobox. I'm almost certainly going to use a fairly limited set of local data. Not that I want to rule remote data out, mind you. Basically, I want a pulldown control that will show the entire list (preferably with scrolling, which I think is not

[jQuery] Re: Autocomplete plugin

2007-05-10 Thread Shelane Enos
The list has been quiet lately about this plugin's update development. How's it going? On 5/3/07 3:00 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: Jeff Fleitz schrieb: That was it! It looks so simple. Thanks, Jörn. Ok, cool. I just received John Resig's Pro JS Techniques book, and

[jQuery] Re: Autocomplete plugin

2007-05-03 Thread Jeff Fleitz
I thought I had it working, but I don't, I am still having issues. I have two lookups on the same form, and the data is returned fine. data[0] is the text description and data[1] is the primary key of the lookup table. I am trying to pass the values to some hidden fields. I am using the code

[jQuery] Re: Autocomplete plugin

2007-05-03 Thread Jörn Zaefferer
Jeff Fleitz schrieb: That was it! It looks so simple. Thanks, Jörn. Ok, cool. I just received John Resig's Pro JS Techniques book, and plan on going over this oop style js stuff and studying your examples, now that the heat will be off. I haven't yet gotten to read John's book. I hope

[jQuery] Re: Autocomplete plugin

2007-05-02 Thread Jeff Fleitz
Try $(#suggest2+pk).val( data[1] ) or $(this).next().val( data[i] ); And first check if the #suggest2+pk selector really selects your hidden input. This technique worked great for populating a hidden field. I am trying to use the same technique to add an option to a select control instead

[jQuery] Re: Autocomplete plugin

2007-05-02 Thread Jörn Zaefferer
Jeff Fleitz schrieb: Nevermind, figured it out, thanks. Cool :-) -- Jörn Zaefferer http://bassistance.de

[jQuery] Re: Autocomplete plugin problem

2007-04-29 Thread Jörn Zaefferer
Stefan Kilp [sk-software] schrieb: Hi Jörn, maybe you could give me a more detailed hint: Try this: $(#ac_werke).autocomplete(imagesearch.php, { delay: 250, width: 300, minChars:2, formatItem: false,

[jQuery] Re: Autocomplete plugin problem

2007-04-29 Thread Stefan Kilp [sk-software]
Hi Jörn, ein update auf die neuste version (28.4 aus svn) hat alle Probleme beseitig :-) falls du noch ein paar bilder brauchst, hier der link http://kilp.net/test/autocomplete/___thumb.zip thanks stefan Stefan Kilp [sk-software] schrieb: Hi Jörn, maybe you could give me a more

[jQuery] Re: Autocomplete plugin problem

2007-04-28 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Stefan, as i highlight multiple hits (search for jo ro in the single person demo) i need to disable jörns markup, but i did not find out how. formatItem: false, did not help. any hit for me? Last time I checked, disabling the automatically highlighting

[jQuery] Re: Autocomplete plugin

2007-04-27 Thread Jeff Fleitz
I'm confused. Which example are you referring to? I would like to see for each text value selected in a multiple, the associated pk in the db table associated in a delimited list, e.g., Item1,Item2, Item3 pk1,pk2,pk3 so that when we process the form input, we can reference by position. Does

[jQuery] Re: Autocomplete plugin

2007-04-26 Thread Jeff Fleitz
$(this).next().val( data[i] ) worked Jörn, thanks. Any idea how I would make this work when the multiple attribute is used? Right now it will return only the last value selected. It would be nice to capture all of the ids, delimited using the same multipleSeparator value that the text area

[jQuery] Re: Autocomplete plugin

2007-04-26 Thread Jörn Zaefferer
Jeff Fleitz schrieb: $(this).next().val( data[i] ) worked Jörn, thanks. Cool. Any idea how I would make this work when the multiple attribute is used? Right now it will return only the last value selected. It would be nice to capture all of the ids, delimited using the same

[jQuery] Re: Autocomplete plugin problem

2007-04-26 Thread Stefan Kilp [sk-software]
Hi Dan, thanks verys much for your help. Stefan, i did some test/demos to play with autocomplete plugin. http://kilp.net/test/autocomplete/autocomplete-demo.html i want a kind of highlighted searchresult. for that reason my php script (sever-side) generates data that looks like

[jQuery] Re: Autocomplete plugin problem

2007-04-26 Thread Dan G. Switzer, II
Stefan, as i highlight multiple hits (search for jo ro in the single person demo) i need to disable jörns markup, but i did not find out how. formatItem: false, did not help. any hit for me? Last time I checked, disabling the automatically highlighting was still not added to the code base. I

[jQuery] Re: Autocomplete plugin problem

2007-04-26 Thread Stefan Kilp [sk-software]
Dan, hope you both fine time to push the autocomplete project. waiting for the next release :-) and maybe you put this on the autocomplete wishlist: at the moment there is a max parameter to indicate how many items will be shown. if more than max items where found be the query then a ... or

[jQuery] Re: Autocomplete plugin

2007-04-25 Thread Jeff Fleitz
I have been using Dan's version of autocomplete successfully on some CF forms where I am querying some lookup tables, and passing primary key values on to the action pages instead of the text description for SQL inserts. I am to implement the same functionality in Jörn's version, and cannot

[jQuery] Re: Autocomplete plugin

2007-04-25 Thread Dan G. Switzer, II
Jeff, $(#suggest2).result(function(event, data, formatted) { $(this).find(..+/input).val(data[1]); }); I believe the code above translates to my onFindValue. This means the above code is run when a value is selected via the autoselect control. This means that the

[jQuery] Re: Autocomplete plugin

2007-04-25 Thread Jeff Fleitz
Hi Dan, I am going to owe you some serious beer here pretty soon. $(#suggest2).result(function(event, data, formatted) { $(this).find(..+/input).val(data[1]); }); I believe the code above translates to my onFindValue. This means the above code is run when a value is

[jQuery] Re: Autocomplete plugin

2007-04-25 Thread Jörn Zaefferer
Jeff Fleitz schrieb: That's what I thought, but I can't get it to do anything. If suggest2 is the text field lookup and suggest2_pk is the hidden field, how is that function going to update the hidden field, when there is no reference to it? I tried assigning the hidden field value in the code

[jQuery] Re: Autocomplete plugin

2007-04-23 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

[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 is windows based and also now also use SQL

[jQuery] Re: Autocomplete plugin

2007-04-23 Thread Dan G. Switzer, II
James, Aways the simple things changed Response.Write trim(objRS.Fields (LOC)) chr(13) to Response.Write objRS.Fields(LOC) vbcrlf And it worked fine :-) I was just getting ready to respond. The Autocomplete code is searching for \n (chr(13) chr(10)) as the row delimiter--which is why

[jQuery] Re: Autocomplete plugin

2007-04-19 Thread Dan G. Switzer, II
James, 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

[jQuery] Re: Autocomplete plugin

2007-04-19 Thread Dan G. Switzer, II
James, 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

[jQuery] Re: Autocomplete plugin

2007-04-19 Thread Priest, James \(NIH/NIEHS\) [C]
-Original Message- From: James Trix [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 7:31 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Autocomplete plugin Hi Dan as you can tell I am still a bit new to all this programming thing I have limited the number

[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@googlegroups.com Subject: [jQuery] Re: Autocomplete

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Dan G. Switzer, II
Ariel, question: is there paging in the autocomplete program for AJAX based option queries? You can have the AJAX operations return whatever you want. If you want it to just return a subset of matches, then make sure to turn the Autocomplete caching mechanism off--that way each lookup will

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Dan G. Switzer, II
Jeff, What did you do to fix this issue? $(#addunit_lookup).autocomplete( qryUnitLookup.cfm, { I used the fully qualified URL. So instead of: qryUnitLookup.cfm I use: https://www.domain.com/directory/qryUnitLookup.cfm -Dan

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Jeff Fleitz
Yeah, thats what I did. Didn't work. Hmmm. On Apr 18, 11:40 am, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Jeff, What did you do to fix this issue? $(#addunit_lookup).autocomplete( qryUnitLookup.cfm, { I used the fully qualified URL. So instead of: qryUnitLookup.cfm I use:

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Priest, James \(NIH/NIEHS\) [C]
-Original Message- From: Jeff Fleitz [mailto:[EMAIL PROTECTED] Thinking it had to be the reference to the cf template below, I added the fully qualified path with https, but it didn't have any effect. Do you think the transport.setRequestHeader(connection, close) issue might be

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Dan G. Switzer, II
Jeff, Yeah, thats what I did. Didn't work. Hmmm. The jQuery v1.1.2 and my Autocomplete mod work fine for me in an SSL environment. However, a couple of thoughts: 1) Check your .ac_loading{} CSS declaration. Perhaps it's the loading of the image that's causing the behavior. 2) If you're

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Dan G. Switzer, II
Jeff, Yeah, thats what I did. Didn't work. Hmmm. Ooh... I just thought of something. I think maybe the problem came from the generation of the iframe / used in IE6 to make sure the dropdown goes over select elements. I just looked at the actual source I'm using on the server and found this at

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Jeff Fleitz
My bad. You were right about 1) The culprit was the indicator.gif file. I had moved the css file to a different folder and it broke the reference. Things are working now. Thanks. Jeff On Apr 18, 12:36 pm, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Jeff, Yeah, thats what I did. Didn't

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jörn, The autocomplete plugin version I've just released (see other thread) sends the options.max value to the server as a limit parameter, you could add that to your SQL to limit the number of results already on the server. I wouldn't recommend that

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jeff, Yeah, thats what I did. Didn't work. Hmmm. Ooh... I just thought of something. I think maybe the problem came from the generation of the iframe / used in IE6 to make sure the dropdown goes over select elements. I just looked at the actual source

  1   2   >