similar to: Ajax.Autocompleter with an empty field

Displaying 20 results from an estimated 600 matches similar to: "Ajax.Autocompleter with an empty field"

2005 Jul 09
7
Extending the AJAX autocompleter
Hi (I think Thomas?), I am trying to extending the AJAX autocompleter here, and would need to pass on additional params to the Framework I am using which is taking on the request. For this, I have changed the onObserverEvent function in controls.js as to the following: onObserverEvent: function() { this.changed = false; if(this.element.value.length>=this.options.min_chars) {
2010 Jan 07
1
text field with autocomplete
Hey everybody, I am using text field with autocomplete in my posts new action. That works great. Response from autocompleter in firebug: POST http://localhost:3001/posts/auto_complete_for_tag_name 200 OK 68ms but if I use the same in edit action it fails and I got this error. POST http://localhost:3001/posts/781/auto_complete_for_tag_name 404 Not Found 81ms *** POSTS controller: *** def
2005 Aug 24
1
Re: triggering autocomplete with a button press
I''ve got a search field on my site that uses an autocomplete to match against search terms already input by the same user. That''s working perfectly. However, I''d like to provide a little button next to the search field that triggers the autocomplete, so that the users can "browse" the list of past search terms. This behavior would be in addition to the
2006 Feb 22
0
Ajax.Autocompleter clear field if nothing selected
Here''s the basics of what I want to do: If the user selects something from the autocompleting dropdown the use the normal functionality and populate the text box. If the user does not select something, and simply leaves the field, I want it cleared back out to blank. I just can not get the javascript to work to be smart enough to know when something was selected and leave it and when
2006 Feb 06
6
.rjs template doesn''t load?
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060206/cf123b71/PGP.bin
2006 Jan 23
6
Performance Issues with Autocompleter
Hi All, I am currently using script.aculo.us and Autocompleter for a project which I am dealing now. I faced a situation for which I couldnt find any solution and I could not see any reference regarding this issue in the enhancement/bug lists of script.aculo.us either. Autocompleter component is working perfectly, if the information returned from the server does not exceed ~1000 LIs.
2006 Jan 02
4
Autocompleter with a scroll bar
Has anyone been able to make scrollable results for an autocompleter? Thanks!
2006 May 24
2
autocompleter competing with saved form data in firefox
Hi all, I have used the sciptaculous Ajax autocompleter a few times now. A major problem I have at the moment is with a text field that has focus when a page loads. The text field has an autocompleter associated with it, but when the user starts typing, the firefox saved form data autocompleter appears first, and the scriptaculous one is partially hidden behind it. Has anyone else encountered
2006 Feb 24
1
Autocompleter Problems
Hi, I''m trying to get autocomplete to work but have been having some problems. It seems that Ajax.Autocompleter(...) is not getting called. I''ve put in a alert in control.js: Autocompleter.Local = Class.create(); Autocompleter.Local.prototype = Object.extend(new Autocompleter.Base(), { initialize: function(element, update, array, options) { window.alert("GOT
2005 Sep 22
4
Autocompleter: displaying resuts-div on focus
Hi, In the last two days I posted 4 different questions to this forums, but no single answer... Is it personal ? ;-) Anywayz I continue trying, so maybe I have luck this time... The question: in an autocomplete component, is it possible to make the results-div apear when the text field is getting focus? Thanx in advance, Ron
2006 Mar 13
3
Autocompleter that auto scrolls through results..
Hi All Before I investigate further, has anyone implemented an Autocompleter that will auto scroll down / up the results div as the user moves down through the list (using arrow keys) ? Any pointers / thoughts appreciated. Best Matt *********************************************************************************** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
2005 Sep 16
4
Autocompleter handling multiple completes
Has anyone extended the Autocompleter to do multiple auto-completes in a single input field? I''m looking to achieve similar functionality to the del.icio.us <http://del.icio.us> post page which allows multiple auto-completes of tag names in the tags input field. cheers, Rob -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Dec 08
4
AutoCompleter afterUpdateElement
Any ideas how I can submit say, a person ID instead of the person''s name on an autocompleter input field? Surely this is a common need. Thanks! Daniel
2006 Mar 30
3
Autocompleter
What is the best way to show that Autocompleter is searching for the dropdown list. It is taking several seconds to load the list deco
2005 Aug 05
2
Quick Question on Autocompleter Parameters
Hello, Is it possible to send the current value of a second form element with the AJAX request on the Autocompleter? At the moment, I initialise the Autocompleter on page load, so any parameters passed in the constructor are given the value set at page load time. I need to obviously pass in the value of the second form element when the autocompleter is called. Does this function already exist,
2005 Aug 17
3
Ajax.Autocompleter
I have been working with the Ajax.Autocompleter for about a day so forgive my ignorance. Is there any value in adding additional callbacks. I want perform an action when the user selects a choice. So I was thinking of adding an option {select: function(selectedElement) {}} similar to the callbacks on Ajax.Request in the prototype library. Call me out if you think I am crazy my feelings
2006 Jan 22
1
Dynamic parameter to autocompleter
Hi All Is there any way to pass a dynamic parameter do AutoCompleter URL? I want to pass the current text on autocompleter input field plus a parameter "last", with data from field "last" When i try to use "parameters" option, they get only first value of field "last", not dynamicaly. Thanks.
2006 Feb 16
2
Autocompleter question
Hey all, When using the Ajax.autocompleter, how would I configure it so that the user is searching based on an entry''s name, but once they select an entry, I record the ID? I have the user entering a person''s name in a text box to make it easier to find contacts in a large database. I know that I can display content that doesn''t end up in the textbox by using
2005 Aug 08
3
AutoCompleter IE6 and SELECT Element Clash
Hello, I am using the AutoCompleter to great effect. However, the site design I have been constrained by has <select> elements/drop down boxes below the AutoCompleter field. This means that in Internet Explorer 6 the drop down elements appear on top of the floating DIV when rendered in the browser. Mozilla floats the DIV on top of the select elements as expected. Has anyone encountered,
2006 Nov 30
12
Disable autocomplete (Ajax.Autocompleter) on the fly.
I''m sure there is an easy way to do this, but it is one of those things that is incredibly difficult to search for. How can I disable an ''Ajax.Autocompleter'' element from working ''on the fly''? I have a page where I''m using two (I know it''s crazy) Ajax.Autocompleter elements and once one of them has got a result I want the other field