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 wrote: > Hi, > > Tha

[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 looks

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 wrote: > On Fri, Jan 29, 2010 at 1:38 AM, Richard D. Worth > 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/jquer

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 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 autocomplete ? If see

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 wrote: > Anthony, > > The short answer would appear to be no, it's

[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 the

[jQuery] Re: autocomplete returning multiple identical values in dropdown

2010-01-17 Thread MorningZ
You pulling the data from server side code? if so, it's that codes responsibility to return unique values On Jan 17, 4:25 pm, rumremix wrote: > The autocomplete plugin I obtained > fromhttp://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/is > working great aside from one significant

[jQuery] Re: Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-15 Thread j@verax
Thanks, Jon, I tried out the technique described in the link that you provided and it worked very well. Thank you for saving much of my time and effort. On Jan 15, 11:19 am, Jon Banner wrote: > have a go withhttp://docs.jquery.com/Core/jQuery.noConflict > > 2010/1/15 j...@verax > > > > > I fou

Re: [jQuery] Re: Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-15 Thread Jon Banner
have a go with http://docs.jquery.com/Core/jQuery.noConflict 2010/1/15 j...@verax > I found the problem. > > Its the $ sign ! The $ sign has a very special meaning in the jQuery > framework. So if it is used in any other Javascript that doesnt use > jQuery, it will be incompatible. So this mean

[jQuery] Re: Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-15 Thread j@verax
I found the problem. Its the $ sign ! The $ sign has a very special meaning in the jQuery framework. So if it is used in any other Javascript that doesnt use jQuery, it will be incompatible. So this means we should not use '$' in our code just because it looks cool ! Also, be very careful when yo

[jQuery] Re: Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-14 Thread j@verax
The code as posted (template.jsp) is correctly extracted. Probably appears that way because of the text wrap. Its working code. On Jan 14, 6:21 pm, MorningZ wrote: > is that a straight dump of your code? > > if so, you don't have tags around your JavaScript after the > closing tag > > On

[jQuery] Re: Autocomplete incompatible with certain struts-tiles-javascript apps

2010-01-14 Thread MorningZ
is that a straight dump of your code? if so, you don't have tags around your JavaScript after the closing tag On Jan 14, 5:24 pm, "j...@verax" wrote: > Hi jQuery guru, > > I have an application based on struts and tiles. Validation is done by > javascript at a g

[jQuery] Re: Autocomplete selection blanks out input field

2010-01-14 Thread j@verax
Thanks Marty. I implemented your suggestion and it worked. On Jan 12, 2:40 pm, Marty Jones wrote: > I had the same issue.  The "mustMatch" flag causes the second request > to validate the text that was set.  Make sure that the selected input > value can successfully be submitted to your ajax requ

[jQuery] Re: autocomplete: extra fields

2010-01-14 Thread MorningZ
I tried for so long to accomplish what you ask (which i think is tell the server side autocomplete target "what field am i?"), only to throw up my hands in dismissal... I finally just did it this way: say i had: I just wired up the plugin like so: $(".ac").each(function() { $(this).a

[jQuery] Re: autocomplete: extra fields

2010-01-14 Thread Michael Lang
If you want the extraParams passed to your data url to include other form input values then you need to define the values as a function. In that function use jquery to get the values of the other inputs. $("#addressCity").autocomplete('http://www.example.com/api/ getcities/', {

[jQuery] Re: Autocomplete selection blanks out input field

2010-01-12 Thread Marty Jones
I had the same issue. The "mustMatch" flag causes the second request to validate the text that was set. Make sure that the selected input value can successfully be submitted to your ajax request and come back with a hit. If a match is not found the the text's input field will be cleared. On Jan

[jQuery] Re: (autocomplete) Half of page disappears in IE7 when autocomplete list shows

2010-01-07 Thread Rune
Hi Thanks a lot - The problem was indeed in a css stylesheet but wasn't related to any conflicting names. Instead we have a specific IE7- instruction which looks like this: body { height: 100%; overflow-y: auto; } Autosuggest seems to be incompatible with the "overflow-y: auto" property and val

Re: [jQuery] Re: (autocomplete) Half of page disappears in IE7 when autocomplete list shows

2010-01-07 Thread Md. Ali Ahsan Rana
Your css probably conflicting with autocomplete plugin's some css/ css class names.. Check carefully... -- http://ranacseruet.blogspot.com/

[jQuery] Re: (autocomplete) Half of page disappears in IE7 when autocomplete list shows

2010-01-07 Thread Rune
I have now generated a static copy of the web page containing the autocomplete dropdown html code (the div in the bottom of the page). When I load this into IE7 there are no problems. It only fails on the active page. On Jan 6, 3:39 pm, Rune wrote: > Hi > > I use autocomplete newest version on >

[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 wrote: > Do you have FireBug installed (you should!) to see if the plugin at > least tri

[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 wrote: > I'm using the autocomplete plugin.  The following script works in IE, > but doesn't work in Firefox.  It doesn't appear  that these

[jQuery] Re: [AUTOCOMPLETE]

2009-12-27 Thread Ami
Yes. try that: $('select').focus( function (){$(this).attr('size',5)} ).blur( function (){$(this).attr('size',0)} ) If it.. rate me please. On Dec 23, 9:47 pm, Jake Moon wrote: > Is it possible to open the select list on focus? > > Best regards, > > Jake Moon

[jQuery] Re: [autocomplete]

2009-12-20 Thread nKognito
This problem occures only in IE (I have tested on IE 7) On 19 дек, 21:01, nKognito wrote: > In your autocomplete plugin example (tags list): when a user types > some word and then select the right one from the suggested list by > keyboard - everything ok, BUT when he wants to select an option by

[jQuery] Re: autocomplete remote data backspace behavior

2009-11-15 Thread Jas
its an option.. mustMatch: true, so whenever backspace is pressed and the text changes, now it does not match exactly so the whole string is erased. pretty cool! On Nov 13, 4:52 pm, Jas wrote: > In the demohttp://view.jquery.com/trunk/plugins/autocomplete/demo/ > with Multiple Cities and Multip

[jQuery] Re: Autocomplete - Is there a way?

2009-11-08 Thread MorningZ
Ah, local data on the page... no idea, sorry On Nov 8, 5:10 pm, cdukes77 wrote: > Exactly ... the questions is how ... here;s the autocomplete script > I'm using - I cannot see any way to add a list item that is outside of > the loop AND part of the return ... > >         $(document).ready(func

[jQuery] Re: Autocomplete - Is there a way?

2009-11-08 Thread cdukes77
Exactly ... the questions is how ... here;s the autocomplete script I'm using - I cannot see any way to add a list item that is outside of the loop AND part of the return ... $(document).ready(function() { $("#searchName").autocomplete(data, { matchContains: tru

[jQuery] Re: Autocomplete - Is there a way?

2009-11-08 Thread MorningZ
> What I'm trying to figure out how to do - is to have an "Add New" > option in the Autocomplete list that shows (at the top or bottom of > the autocomplete list) as a selectable option, regardless of what the > user is searching for. Well, if you have the plugin working, then you obviously have t

[jQuery] Re: [autocomplete] Callback for selected match

2009-10-14 Thread Evgeny Bobovik
use the onchange event for select Gk___ 2009/10/14 eka : > > Hi > > Is there anyway to pass a callback to the options to be called when an > option is selected? > > Regards > > Eka >

[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 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 changed in the weekend b

[jQuery] Re: Autocomplete not working in Firefox

2009-10-14 Thread vrodg
I found the issue. the original developer of the site had a separate CSS called in for Firefox. I was attempting to perform actions against classes that did not exist. On Oct 14, 10:40 am, MorningZ wrote: > I use the plugin just fine against Firefox 3.5 > > Got some example code? > Have you

[jQuery] Re: Autocomplete not working in Firefox

2009-10-14 Thread MorningZ
I use the plugin just fine against Firefox 3.5 Got some example code? Have you tried to view another instance of the plugin from your Firefox install? (like for instance the demo page) On Oct 14, 1:38 pm, vrodg wrote: > Also it's Firefox on both Platforms of PC and Mac it is not working. > The

[jQuery] Re: Autocomplete not working in Firefox

2009-10-14 Thread vrodg
Also it's Firefox on both Platforms of PC and Mac it is not working. The firefox versions used for testing is 3.5.3 On Oct 14, 10:36 am, vrodg wrote: > I can get Jquery Autocomplete to work in all browsers but Firefox. > The function correctly queries the data and creates the results div/ > li

[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: http://public.blackpearl.minus3.

[jQuery] Re: Autocomplete - How to simulate a select box, where displayed value is one thing and submitted value is another

2009-10-13 Thread chrishubbard
Eric, You need to use formatItem. http://docs.jquery.com/Plugins/Autocomplete/autocomplete#url_or_dataoptions For example, let's assume that the JSON you are returning from your server script looks like (taken from the example data): [ { name: "Peter Pan", to: "pe...@pan.de" }, {

[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 wrote: 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 t

[jQuery] Re: AutoComplete Sends Null To Server Side Function

2009-10-08 Thread Mark Phillips
Thanks for the reply. I discovered the answer. A silly mistake actually. The AutoComplete parameter is "q". ASP.NET MVC Routes needs an exact parameter name match on the server side method. I was using the word "filter" instead of "q", so ASP.NET MVC passed in null to the server method. Mark

[jQuery] Re: AutoComplete Sends Null To Server Side Function

2009-10-08 Thread MorningZ
Are you using firebug or another Developer Console like program to see what request the AutoComplete is sending out? it should be something like http://yourwebsite/Serice/AutoComplete.ashx?q=foo&limit=10×tamp=1255013315384 And all values can be accessed in ASP.NET via Request.QueryString, key "

[jQuery] Re: (autocomplete)

2009-10-07 Thread Alberto SOUZA
Hi, i resolved the probleam, actually, i was looking for in the wrong place. I had to use the "parse" function to solve the problem when i get json from the server. Thanks! On Wed, Oct 7, 2009 at 11:22 AM, Alberto wrote: > > I'm trying to use the plugin with generated json, but the parse isn't >

[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 the

[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) help about extraparams

2009-10-07 Thread Otniel Zebua
Thanks alex, it works. On Wed, Oct 7, 2009 at 7:20 AM, wrote: > please try cacheLength=0 arg to autocomplete. > >

[jQuery] Re: (autocomplete) help about extraparams

2009-10-06 Thread alexbodn . groups
please try cacheLength=0 arg to autocomplete. On Fri, Oct 2, 2009 at 03:45, Otniel Zebua wrote: Ok, I have got it with $_GET. But now I have another problem, if I choose "England" for the country, then I press "a" in autocomplete input box, then $_GET['country'] value will be "GB" in the serve

[jQuery] Re: Autocomplete - How to simulate a select box, where displayed value is one thing and submitted value is another

2009-10-06 Thread alexbodn . groups
you need a hidden field to hold the value, and play around with the result trigger. hth On Mon, Oct 5, 2009 at 23:16, benze wrote: Hi, I'm trying to figure out how to use the autocomplete jQuery plugin best to my needs.  I'm looking to replace a select box with the Autocomplete plugin, but

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

2009-10-06 Thread Maarten
FYI: I looked into the source of the autocomplete script and I think I'm gonna try to extend it myself.

[jQuery] Re: autocomplete click send focus back to input

2009-10-02 Thread travisjbeck
I figured it out $("#myinput").autocomplete(_url,{ onItemSelect: function(){ $('#myinput').focus(); } }); although i couldnt find onItemSelect anywhere in the documentation On Oct 1, 8:46 pm, travisjbeck wrote: > are there any callbacks for me to hook into

[jQuery] Re: (autocomplete) multiple inputbox using same autocomplete function

2009-10-01 Thread Amit
I know that we can use multiple selector in autocomplete function but we can't access them in result function. On Oct 2, 11:30 am, Amit wrote: > code at the bottom is working fine .. wherein data is coming from > database via postcode.php in following format : > > 2221|BLAKEHURST|NSW > 4401|AC

[jQuery] Re: (autocomplete) help about extraparams

2009-10-01 Thread Otniel Zebua
Ok, I have got it with $_GET. But now I have another problem, if I choose "England" for the country, then I press "a" in autocomplete input box, then $_GET['country'] value will be "GB" in the server-side code. But when I choose Italy for the country, then I press "a" again in autocomplete input b

[jQuery] Re: (autocomplete) help about extraparams

2009-10-01 Thread James
Yep. In my experience, I think the only time I found it not to send any extra param is if the value of the param is empty (or undefined, I believe). In the example, if: $("#country").val(); returns nothing. pragard, You might want to try to test it with a hard-coded value: extraParams: {

[jQuery] Re: (autocomplete) help about extraparams

2009-10-01 Thread MorningZ
First off, you should use Firefox and Firebug (or Chrome/Safari with their respective Developer Consoles) to look at the URL That the autocomplete call actually calls... the "extraParams" get appended onto the URL as a query string value... there's no reason why $_GET wouldn't work to get the val

[jQuery] Re: (autocomplete) help about extraparams

2009-10-01 Thread Otniel Zebua
Thanks for your replies. I know that in the example, there is a server-side code called "search.php" that list all of the autocomplete list. And in that files the words that we type was get by $_GET['q']. Now my problem is, as I mentioned before, that it can pass the country ID with extra params,

[jQuery] Re: (autocomplete) help about extraparams

2009-10-01 Thread James
I don't see what the problem is and what you want help on. You have the code right there that essentially does what you want. You just have to build the server-side code to select only cities with the selected country and a match to the autocomplete text. ... or did you want someone to build all o

[jQuery] Re: (autocomplete) not selecting value unless user explicitly selects it

2009-09-30 Thread Mike Wertheim
I'm realizing that I didn't describe this completely enough. I'm putting together a search engine. So I need text field (with autocomplete) and a Search button. When the user presses return, it should submit the form (i.e. the equivalent of clicking the Search button). When the user explicitly

[jQuery] Re: autocomplete, extraParams and $(this)

2009-09-29 Thread James
I think it's just not in the scope. I haven't looked into it. How about looping through each result set and assigning the option individually. In addition to your autocomplete initialization code, add this (not tested): $("input.vAutocompleteField").each(function() { var field = this; $(f

[jQuery] Re: autocomplete

2009-09-29 Thread Asa Carter
It's working :) $("#quick-search").autocomplete('/includes/search.php',{ width: 300, scroll: false, dataType: "json", parse: function(data){ return $.map(data, function(row){

[jQuery] Re: autocomplete

2009-09-29 Thread Nalum
is "return $.map(data, function(row) " passing the json variable to data or row? it looks to me like row is an empty variable. On Sep 29, 1:13 pm, Asa Carter wrote: > Hi > > My php is returning via json: > > a string (name) which is displayed in the text box > an int (location_id) > > When the

[jQuery] Re: autocomplete, extraParams and $(this)

2009-09-29 Thread patrickk
I would like to send the ID of the autocomplete-field to the ajax- script. I thought that $(this) refers to the input-field (having my initial example in mind). isn´t it possible to use $(this) within the autocompleter? how would you pass the ID of the current autocomplete-field to the ajax-scrip

[jQuery] Re: autocomplete, extraParams and $(this)

2009-09-28 Thread James
By the way, 'extra_var': function() { return $("#extra_var").attr('id'); } Would return "extra_var" since $("#extra_var").attr('id'); is "extra_var". I'm not sure what you're trying to achieve if that's not what you want. On Sep 28, 2:34 pm, James wrote: > "extra_var" does not map to the I

[jQuery] Re: autocomplete, extraParams and $(this)

2009-09-28 Thread James
"extra_var" does not map to the ID of the input field. It is the name that is going to be sent along with the AJAX request to your script. (e.g. /autocomplete_lookup/? q=my_search_text_blahablhablah&extra_var=12345) You have to change it so it's: 'extra_var': function() { return $("#extra_var

[jQuery] Re: [autocomplete] auto complete based on additional input value

2009-09-26 Thread alexbodn . groups
hello frank, your application knows what's the zip of each hospital, so i think there's not worth sending it and expecting it back. what you probably need is to take the zip from another field supplied by the user, and base the query upon it. that's extraParam for. the key part is the variabl

[jQuery] Re: (autocomplete)

2009-09-25 Thread Cyril Lopez
2009/9/24 Ordos > > But now, when I start to type a country I get ALL special characters > like: Belgi� > utf8_encode() ? http://fr.php.net/manual/en/function.utf8-encode.php Cyril

[jQuery] Re: Autocomplete

2009-09-21 Thread Asa Carter
I suppose I could do that. thanks... On Sep 21, 3:31 pm, Liam Potter wrote: > why not restyle the strong tag? > > Asa Carter wrote: > > How do I use the highlight function in the auto complete plugin? > > > I wish to replace with > > > Thanks > > > Asa

[jQuery] Re: Autocomplete

2009-09-21 Thread fu zhiping
Hi, Asa If the link below may help you, it is my pleasure. http://www.donotyet.com/2009/08/30/3-examples-of-facebook-like-autosuggestion/ 2009/9/21 Asa Carter > > How do I use the highlight function in the auto complete plugin? > > I wish to replace with > > Thanks > > Asa >

[jQuery] Re: Autocomplete

2009-09-21 Thread Liam Potter
why not restyle the strong tag? Asa Carter wrote: How do I use the highlight function in the auto complete plugin? I wish to replace with Thanks Asa

[jQuery] Re: [autocomplete] Does it support version 1.3.2?

2009-09-19 Thread alexbodn . groups
sure :) On Sat, Sep 19, 2009 at 04:31, Catherine wrote: Same as subject I'm having trouble using it with jQuery 1.3.2. Please advice. -- alex smime.p7s Description: S/MIME Cryptographic Signature

[jQuery] Re: (autocomplete) how to have autocomplete use dynamic data (for implementing a search engine's entry field)

2009-09-16 Thread lanxiazhi
your server routine is just a web page,wait for the browser to request.you set up the autocomplete like this: $(..).autocomplete(web_page_url,{options..}).every time when the user press a key,autocomplete will make a request to your web page,you fetch the parameter q,and you will know what the use

[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 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 the data in that suggestio

[jQuery] Re: Autocomplete plugin - customization

2009-09-14 Thread Dhruva Sagar
Hi, Which autocomplete plugin are you using ? Thanks & Regards, Dhruva Sagar. Mike Ditka - "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 wrote: > > Hi > I'm tryin

[jQuery] Re: Autocomplete -- Autofill & Comma Seperator Issues

2009-09-13 Thread alexbodn . groups
try to remove the highlight flag, so you'll have a better idea on what's going on. On Mon, Sep 14, 2009 at 03:13, Mil wrote: Wow, how did I miss that option.  Thanks Patrick. On Sep 7, 9:18 am, Patrick Wolf wrote: Hi, have you tried to set the option selectFirst to false? Regards Patrick

[jQuery] Re: Autocomplete -- Autofill & Comma Seperator Issues

2009-09-13 Thread Mil
Wow, how did I miss that option. Thanks Patrick. On Sep 7, 9:18 am, Patrick Wolf wrote: > Hi, > > have you tried to set the option selectFirst to false? > > Regards > Patrick > > On Sep 3, 8:15 am,Mil wrote: > > > > > Does anyone have any ideas for this issue? > > > On Sep 1, 4:49 am,Mil wrote:

[jQuery] Re: [Autocomplete] Receiving data in XML

2009-09-12 Thread Joao Gilberto Magalhaes
Really Thanks! It is so easy! 2009/9/11 > jQuery('#x').autocomplete(.,parse=function(data){parse the data with > same resulting format as parse(data) in autocomplete}, ...); > > > On Fri, Sep 11, 2009 at 23:37, Joao Gilberto Magalhaes < > joaogilbertomagalh...@gmail.com> wrote: > >> Hi Alex,

[jQuery] Re: [autocomplete] Autocomplete selection with mouse causes blur while with keyboard doesn't

2009-09-11 Thread alexbodn . groups
result is being triggered with null values when the list gets shown onchange of input value. On Sat, Sep 12, 2009 at 08:36, Joel D'Souza wrote: I intend to use the blur function when a selection is not made to clear some hidden field values. And the result function to set/update those hidden

[jQuery] Re: [Autocomplete] Receiving data in XML

2009-09-11 Thread alexbodn . groups
jQuery('#x').autocomplete(.,parse=function(data){parse the data with same resulting format as parse(data) in autocomplete}, ...); On Fri, Sep 11, 2009 at 23:37, Joao Gilberto Magalhaes wrote: Hi Alex, Thanks for your quick response. There is one item about parse XML in the autocomplete T

[jQuery] Re: [Autocomplete] Receiving data in XML

2009-09-11 Thread Joao Gilberto Magalhaes
Hi Alex, Thanks for your quick response. There is one item about parse XML in the autocomplete TODO document, so my intention is help the project. But, in fact I prefer use a solution with no change in autocomplete. Could you give a rough sample about HOW I implement this? Thank you again. 2009

[jQuery] Re: [Autocomplete] Receiving data in XML

2009-09-11 Thread alexbodn . groups
hi, i'm personally not the maintainer of autocomplete, but in my opinion this code is too purpose specific to be hardwired in autocomplete. but you could pass a function with the part in else as the 'parse' argument to autocomplete, and need no change in autocomplete itself. On Fri, Sep 11, 2

[jQuery] Re: [Autocomplete] Receiving data in XML

2009-09-11 Thread Joao Gilberto Magalhaes
Hi, Basically to work like I said before I make the follow changes in AutoComplete v1.1 (full file is attached) function parse(data) { var parsed = []; if (!options.xmlResult) { var rows = data.split("\n"); for (var i=0; i < rows.length; i++) { var row = $.

[jQuery] Re: [autocomplete] Missing space character in request

2009-09-10 Thread alexbodn . groups
think of a patch with an option with this effect. On Sat, Aug 8, 2009 at 17:00, aw wrote: Hi, Using the autocomplete plugin works fine. But submitted values are trimmed. Is it possible to send data with ending space characters like the escape function in JavaScript? Thanks. -- alex s

[jQuery] Re: autocomplete

2009-09-10 Thread alexbodn . groups
i'm not sure i'd make it part of the widget, since it doesn't treat the options linearly. you may create any element with an onclick event to get the same values autocomplete would and display them similar to autocomplete list too. On Mon, Aug 17, 2009 at 00:06, ser999 wrote: I am new to usi

[jQuery] Re: [Autocomplete] Autofill & Comma Seperator Issues

2009-09-10 Thread alexbodn . groups
please try the demo at http://jquery.bassistance.de/autocomplete/demo/, on the field Multiple Cities (local), the name Oregon. On Tue, Sep 1, 2009 at 11:49, Mil wrote: Hi, I am trying to use this autocomplete http://docs.jquery.com/Plugins/Autocomplete but I'm having some issues with it.  I'

[jQuery] Re: [Autocomplete] Detect when autocomplete list is visible

2009-09-10 Thread alexbodn . groups
look at version 1.1 from bassist On Tue, Sep 8, 2009 at 10:18, CharlesW wrote: Hello, I'm detecting Enter/Return keyup requests, what's a good way to ignore them when the autocomplete list is visible? I tried using $('.ac_results').css('display'), but that doesn't work reliably (it's always

[jQuery] Re: [Autocomplete] Receiving data in XML

2009-09-10 Thread alexbodn . groups
play with the options to autocomplete: dataType, parse are handling the conversation with the server. On Wed, Sep 9, 2009 at 16:11, Joao Gilberto wrote: Hi, First of all, I want to thank you about your excellent Autocomplete plugin for jQuery. So, I plan use your component in my open sourc

[jQuery] Re: [autocomplete] a few improvements to autocomplete

2009-09-10 Thread alexbodn . groups
On Wed, Sep 9, 2009 at 18:31, wrote: hello friends, i have done a few improvements to the autocomplete module, to fix problems and improve functionality: added selectOnly option to autoselect a result if there's only one. this may save you a click. moved the loading indicator to the left

[jQuery] Re: [autocomplete] Enable creation of new list entries?

2009-09-09 Thread alexbodn . groups
autocomplete is the place to enter some text based on a list of values. you may set mustMatch:false, and you'll be able to enter text not in the list. then, if you set on* on the input field, it may do whatever you want with the text you entered. On Wed, Sep 9, 2009 at 20:41, starkos wrote: I

[jQuery] Re: Autocomplete: implement result() to link a selection

2009-09-09 Thread alexbodn . groups
google for the result trigger of autocomplete, and perform an href.location=x there. On Thu, Sep 10, 2009 at 02:02, ripcurlksm wrote: Can anyone offer any suggestion to allow for me to get this to work? If I type something like "Green" and click on the suggestion, I want it to go to a page l

[jQuery] Re: Autocomplete: implement result() to link a selection

2009-09-09 Thread ripcurlksm
Can anyone offer any suggestion to allow for me to get this to work? If I type something like "Green" and click on the suggestion, I want it to go to a page like page.php?id=1. If I type something like "Red" and click on the suggestion, I want it to go to a page like page.php?id=2. %-| --

[jQuery] Re: [autocomplete] key - value

2009-09-09 Thread alexbodn . groups
hello, you should make an additional input for the code, and set a result trigger to update the code. as for the data you supply, it should be in the format 'description1|key1\ndesc...'. search google for good examples. On Wed, Sep 9, 2009 at 17:43, TiGeRWooD wrote: Hi, Is there a way to u

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

2009-09-07 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: $(".ac

[jQuery] Re: Autocomplete -- Autofill & Comma Seperator Issues

2009-09-07 Thread Patrick Wolf
Hi, have you tried to set the option selectFirst to false? Regards Patrick On Sep 3, 8:15 am, Mil wrote: > Does anyone have any ideas for this issue? > > On Sep 1, 4:49 am, Mil wrote: > > > > > Hi, > > > I am trying to use this > > autocompletehttp://docs.jquery.com/Plugins/Autocomplete > >

[jQuery] Re: autocomplete accents

2009-09-07 Thread alexbodn . groups
maybe the matching could be done in a callback function? On Mon, Sep 7, 2009 at 12:15, sebastien creme wrote: Hello, i'm trying to use automplete plugin and deal with accents in data and in search. The main problem is how to display 'déb...' or 'dèb...' when user inputs 'deb'. I have started

[jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

2009-09-03 Thread mathieuuu
I found it : in fact I had to replace "if (data && data.length)" by "if (data)" and now it's working with empty results. Shouldn't it be the appopriate behaviour ? On Sep 3, 2:47 pm, mathieuuu wrote: > Does somebody has any idea ? > > On 31 août, 15:28, mathieuuu wrote: > > > Hi, > > > Thanks

[jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

2009-09-03 Thread mathieuuu
Does somebody has any idea ? On 31 août, 15:28, mathieuuu wrote: > Hi, > > Thanks for your answer rupak but I tried your fix and it did not give > the expected result. > On the contrary, now I think that the plug in is no longer using > cache, even for non-empty results... > > On 31 août, 13:58,

[jQuery] Re: Autocomplete -- Autofill & Comma Seperator Issues

2009-09-02 Thread Mil
Does anyone have any ideas for this issue? On Sep 1, 4:49 am, Mil wrote: > Hi, > > I am trying to use this > autocompletehttp://docs.jquery.com/Plugins/Autocomplete > but I'm having some issues with it.  I'm trying to create a simple tag > autocomplete feature. > > This is what I want to type (

[jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

2009-08-31 Thread mathieuuu
Hi, Thanks for your answer rupak but I tried your fix and it did not give the expected result. On the contrary, now I think that the plug in is no longer using cache, even for non-empty results... On 31 août, 13:58, rupak mandal wrote: > Hi , > you have to make a little changes in autocomplete.

[jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

2009-08-31 Thread rupak mandal
Hi , you have to make a little changes in autocomplete.js Search for "*if (data && data.length*)" condition which is inside "request" function. Add this code before the *if * condition if(data) data.length=0; Thanks Rupak On Mon, Aug 31, 2009 at 3:36 PM, mathieuuu wrote: > > Hello, > > I

[jQuery] Re: [autocomplete] how to clear hidden "key" field when user changes text value?

2009-08-26 Thread jero
Thanks! I was looking for this too. On Aug 20, 1:39 pm, Jörn Zaefferer wrote: > You could try this, similar to what the plugin does for the mustMatch option: > > $(".autocomplete").blur(function() { >  $(this).search(function(result) { >    if (!result) { >      // no match found, do something,

[jQuery] Re: [autocomplete] how to clear hidden "key" field when user changes text value?

2009-08-26 Thread Dac
Thanks Jörn! It took me a minute to realize that ".autocomplete" should reference my text input control (and not an autocomplete generated object), and that .search() is an autocomplete function. But otherwise, it did the trick. Darren On Aug 20, 2:39 pm, Jörn Zaefferer wrote: > You could try

[jQuery] Re: [autocomplete]

2009-08-25 Thread Jörn Zaefferer
Well, that has trigger the same key events as an actualy key press. The main problem will be focus: When the field looses focus, the suggestion list is hidden, and using the virtual keyboard, the text input looses focus on each click. That would need some modifcations, similar to those happening

[jQuery] Re: [autocomplete]

2009-08-25 Thread James
I think he wants to use something like this: http://designshack.co.uk/tutorialexamples/vkeyboard/ On Aug 25, 12:07 pm, Jörn Zaefferer wrote: > What is a virtual keyboard? > > Jörn > > On Tue, Aug 25, 2009 at 2:43 PM, Mahmoud > > wagdy wrote: > > > we need to add a virtual keyboard to the same te

[jQuery] Re: [autocomplete]

2009-08-25 Thread Jörn Zaefferer
What is a virtual keyboard? Jörn On Tue, Aug 25, 2009 at 2:43 PM, Mahmoud wagdy wrote: > > we need to add a virtual keyboard to the same textbox which uses yours > autocomplete plugin. > is this applicable with your autocomplete plugin >

[jQuery] Re: [autocomplete] how to query for words with special (UTF-8 encoded) characters?

2009-08-24 Thread Adriano Varoli Piazza
On 7 ago, 06:06, Christer Bygdestam wrote: > Hi, > > I'm trying to get Joerns awesomeautocomplete-plugin to work with > UTF-8 but I've had no luck in making it work. Has anyone managed to > query the backend using UTF-8 encodendcharacters? > > Right now I'm trying my best to decode the incoming s

[jQuery] Re: [autocomplete] trigger event if user rejects all autocomplete otions

2009-08-20 Thread Jörn Zaefferer
You could try this, similar to what the plugin does for the mustMatch option: $(".autocomplete").blur(function() { $(this).search(function(result) { if (!result) { // no match found, do something, eg. clearing other fields } }); }); Jörn On Tue, Aug 11, 2009 at 8:30 PM, Ash wr

  1   2   3   4   5   6   7   8   >