similar to: Changes to Autocomplete?

Displaying 20 results from an estimated 1000 matches similar to: "Changes to Autocomplete?"

2005 Sep 26
1
[Fwd: [Rails] Re: Autocomplete - setting a second value?]
Yeah, right... I posted this to the Rails mailing list. Sorry for people who see duplicate posts. -------- Original Message -------- Subject: [Rails] Re: [Rails-spinoffs] Autocomplete - setting a second value? Date: Mon, 26 Sep 2005 10:05:24 -0400 From: Fran?ois Beausoleil <fbeausoleil@ftml.net> Reply-To: rails@lists.rubyonrails.org To: rails@lists.rubyonrails.org References:
2006 Jan 23
1
autocomplete=off not working on Firefox
I noticed that the latest control.js disables auto complete: this.element.setAttribute(''autocomplete'',''off''); So I removed my inline "autocomplete=''off''" from my input fields. But Firefox still auto completes. Using the Firefox DOM Inspector I do see that it''s applied by Ajax.Autocompleter as expected. The Inspector
2006 May 16
0
in_place_editor with local autocomplete
Hi Rails gals n guys I am trying to enhance the "Lightning-Fast JavaScript Autocompletion" rails recipe. For those that do not have the pdf-book the recipe explains how to use a javascript array for an auto-complete text field. I want to combine this with the in_place_editor call. My current (unworking) code: <!-- Load the array for autocomplete --> <script
2006 Mar 29
0
auto_complete_on_select don''t work correctly
Hi, i hope that''s the correct place for this question. I must update two input text from autocomplete. The list is, for exemple: <ul> <li> <span class="comune_name">pippo</span> <span class="lat" style="display:none">1.2</span> <span class="long" style="display:none">3.0</span>
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
2007 Mar 13
0
Ajax.Autocompleter with paging
hi, i''d like to create an Ajax.Autocompleter with paging... my basic idea is to use the afterUpdateElement to check if the selected item has a attribute telling it to make a new ajax call... my problem is, that i have no clue how to trigger the getUpdatedChoices of my ajax.autocompleter from within the afterUpdateElement function, nor how to set an
2007 Feb 17
2
Quick question regarding updateElement
How do you pass the selected value to the function? new Ajax.Autocompleter(''text'', ''auto'', ''file'', {paramName:''autocomplete'', updateElement:sayhi}); function sayhi(???){ alert(???); } I''ve tried element and element.value but that didn''t work. --~--~---------~--~----~------------~-------~--~----~ You
2006 Jun 21
11
scriptaculous question
Hello everybody. I''m wondering if there is away with scriptaculous to update multiple form fields with data after finishing an autocomplete request. Heres an example. Joe BlowSchmoe fills in his name and starts to type in the customer number, he selects the approprate customer number from autocomplete list, and bam the address associated with the customer number is populated into the
2006 Mar 07
0
Ajax.Autompleter not working on IE
I have IE 6.0.2 on an old Win 98 machine (that sounds like a vacuum cleaner when running), but I''m developing with FireFox and on Mac and Linux where things seem to work fine. On IE my Ajax.Updater code and my scriptaculous effects are working fine, but my autocomplete fields are not. I assume I''m doing something wrong in setting up the field: I use this on my form: <input
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
2006 Jun 19
2
Autocompleter enhancement feature request
Hello, I have created a ticket for an enhancement of the autocompleter to show the options immediately when the field gets focus. Right now at least one character must be typed for autocomplete to kick in. http://dev.rubyonrails.org/ticket/5435 I have also made some code changes directly in the script Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
2007 Sep 07
0
Autocomplete Questions (Umlaut,AfterUpdateElement)
Hello all I got 2 little questions: The first is, what can i do, when some special Chars like "ä", "ö", "ü" doesn''t work. Is there a way to edit .js files, and where. ex: if i use the general AJAX.Request with "postbody: ''name''+escape(var)" it will work cause of the escape function, but then i had to write the whole autocomplete
2006 Jan 02
0
Scriptaculous Autocompleter and new values
Hello. I''m using the Autocompleter to display suggestions when the user enters text in an input field. Sometimes the user wants to add text that is not among the suggestions but that is the prefix of one of the suggested entries. What''s the best way to accomplish this (the problem is, that the first matching entry is selected automatically and can''t be deselected)?
2008 Apr 10
1
help on ajax autocompleter
the div list of words doesn''t get updated # controller class Words < R ''/words'' def get ("word01".."word20").each{|w| (@words ||='''') << "<li>#{w}</li>"} render :_list @words end end #views # def layout html do head do link :rel
2006 May 17
3
Autocomplete GetToken??
Hi, I needing to modify the control.js file and am confused about what the purpose of the getToken function is. I read the docs section below and still don''t understand why it doesn''t just access the form.value directly. Docs say: This method should get the text for which to provide autocompletion by invoking this.getToken(), NOT by directly accessing this.element.value. This is
2005 Nov 10
0
Using multiple inputs with ajax.autocompleter
Hi, I wrote yesterday ( http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2005-November/001307.h tml ), but with no replies. This mail is not to spam, just a further clarification of the problem: This little bit of code illustrates the problem: <script language="javascript"> function ac(elm) { var val = $F(''val''); new
2006 Feb 20
1
[Prototype] onSuccess Event and Ajax.Updater bug in IE
Hi all, Is there a known bug with Ajax.Updater not working in IE6? I''m having trouble with a Autocompleter control that calls a function that contains an Ajax.Updater as an AfterUpdateElement callback. It works fine in firefox, but I don''t think Ajax.Updater gets called under IE. http://pastebin.com/563889 1. function updater(input, item) { 2. var
2005 Sep 22
6
Autocomplete - setting a second value?
I''m using the autocomplete function, and need a way to grab a second value from the ajax request... an example would probably speak better: This is my HTML: <input name="CustomerName" id="CustomerName" type="text" /> <div id="CustomerList"></div> <input name="CustomerID" id="CustomerID"
2005 Oct 20
1
Autocomplete - Destroying the object
Hi, I''m new to all this so if this is a daft question sorry. I''m using Ajax Autocomplete to populate a search box with likely matches. These results need to be filtered by an option from a select box that is alongside the search box. As the current Autocomplete function only takes in one id to post to the search file, i figured i could post more stuff to the Ajax.Autocompleter
2006 Jan 06
3
Gianni
|Hi i''m New First Question: to use a script.aculo.us it needs to include prototype.js and scriptaculous.js.... but doesn''t work!!; instead ||using ||scriptaculous.shrunk of Alister Cameron, work; what are the expedient to use to include the ||scriptaculous.js ? Second question: in script.aculo.us |Ajax.Autocompleter