similar to: Autocompletion for <SELECT>

Displaying 20 results from an estimated 2000 matches similar to: "Autocompletion for <SELECT>"

2006 Mar 06
0
Autocompletion for <SELECT>
Greetings all. I am looking for an ajax-a-fied select box (single select). Unlike the autocompleter for a text field, it would restrict the entry to only those entries returned. Ala Ticket #2586 [ http://dev.rubyonrails.org/ticket/2586 ] "Essentially an autocomplete that only allows values from a list. Might even be fed by a regular select tags (with options), or by an AJAX call.
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
2005 Aug 15
5
Customized Autocompletion
In the customized autocomplete demo, how does it know what content to use as the value of the autocomplete? The returned UL has the name, email address and an image. Yet only the name is used. How does it do this? I''ve been trying to get something similar going all morning with little success. Also, what does :skip_style=>true do? I couldn''t seem to find a mention of it
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
2005 Aug 23
0
[script.aculo.us][Patch] Autocompleter.selectEntry()
I made a small patch to controls.js. I moved the line this.element.focus() from the end of selectEntry() to the end of updateElement(). The rationale is that if the user uses the options hash to override updateElement, he/she can choose which element to focus next, instead of being forced to the default. You can see an example on the wiki page (still under construction)
2006 Jun 02
5
scriptaculous autocompletion LIMIT and ajax vs. local
Hi, I am using scriptaculous ajax autocompletion (not local autocompletion). I have 2 questions: 1 - The database query being sent to the server always has LIMIT 10. I don''t want to have a limit, but I just can''t for the life of me find where this limit is set in the code. I did see "choices: 10" in controls.js but that''s for autocompleter.Local, which I
2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya, I''ve just released script.aculo.us V1.5_pre1. Please give it a try! Important new stuff (since V1.1b1): * Added a main scriptaculous.js file to load in the other libraries transparently. * Fixed a condition where standard a href=xxx links wouldn''t work in autocomplete results. These do now, the onclick event is not cancelled. [thx to Jasper Slits] * Added
2008 Feb 08
0
Autocompleter - get rid of default selection?
Running Scriptaculous 1.8.1 I''m experiencing an issue with the autocompleter. As part of a search page, I''ve added and autocomplete field. During entering text, the first entry in the autocomplete list is automatically selected- once the user hits enter (regardless if that is the entry he''s looking for or not), the form is submitted. I''m looking for a way to
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 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
2009 Jun 18
1
undefined method `text_field_with_auto_complete'
Dear all: I got the error in my rails 2.2.2 project on ma os x leopard. i did as follow: script/plugin install auto_complete but when i start the server and try to approach the page which used the auto_complete, it can''t find the helper method as the error told: "undefined method `text_field_with_auto_complete'' ", than i try this in script/console helper.methods i
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"
2008 Jan 05
0
Patch Review #10712: Auto Complete Option
I''ve posted a patch for support the AutoCompleter updateElement option allowing the auto_complete plugin to customize the behavior of the auto completion. I required this to fix my app and it is deployed in production. Patch is dead simple and should be a quick sign off for anyone using the plugin. -- Gabe da Silveira http://darwinweb.net
2006 May 23
3
comma separated autocompletion, like in Google Bookmarks, GMail, ..
Hi list, Hi all, In Google Bookmark and GMail -f.ex.-, autocompletion would help you enter multiple values in 1 field, separated by commas. Is there such a solution available somewhere? This is necessary for the acts_as_taggable plugin, to let people enter many tags in one file ex: "rails, ruby, plugin" but with the help of some AJAX magic. Without it, people have no clue about
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
2017 Oct 26
2
Autocompletion support for llvm opt flags
Hi all, Thank you for your feedback at the dev meeting. We are planning to add --autocomplete flag to llvm-opt, which enables us to make a new command-line autocompletion for opt when -mllvm is provided to Clang command invocation. There are command-line option's namespace opt::cl in CommandLine.cpp, which provides useful function for parsing options. However we also have OptTable in
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
Note that this does not fix gettext for app, that will be done separately in another patch as F10/F11 require different setups for that. In the meantime gettext works if manually changed in environment.rb to gettext_rails instead of gettext/rails Signed-off-by: Jason Guiditta <jason.guiditt at gmail.com> --- src/app/controllers/application.rb | 200 --------
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 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
2006 Feb 13
2
[PATCH] Allow generic autocompleter (Ajax.Watcher)
Hey. Below is a patch to allow generic Ajax.Autocompleters. Basically it''s for people who wanna be able to watch an input for changes, but don''t want it to pop up an autocompleter box below. Useful for live previews, that kind of thing. Someone''s gonna have to fix the tabstops. I couldn''t be arse to work out how to make vim do the softtabs properly. Spaces for