similar to: default value using Autocompleter.local

Displaying 20 results from an estimated 40000 matches similar to: "default value using Autocompleter.local"

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 22
1
Lightning Fast Javascript Auto complete
<%= javascript_tag("new AutoCompleter.Local(''search_start_station'',''start_station_auto_complete'', stations);") %> I have <%= javascript_include_tag :defaults %> in the head of my layout. But I always get an Error: "AutoCompleter is not defined". Im using Rails 1.0, so I should have the latest javascript files. The tag
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
I have been trying to write a selector function for Autocompleter.Local that will show a predefined Array and will scroll automatically to the first match. I have had success with with getting my list to populate and show all of the choices, however I cannot get it to scroll to the first match. Since I build the JS Array I can know exactly how many items are in the list going into my selector,
2005 Aug 29
0
Opera Problem with Autocompleter.Local
Hello, I have this page. http://dev2.indycar.com/online/jon/test/auto.php It calls a PHP page that out puts the JavaScript array need to feed the Autocompleter.Local command. But when I do it returns false, can someone please take a look at my code and let me know if I''m doing anything wrong? I don''t think that I am doing anything wrong as it works in IE, Firefox
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 Feb 13
2
Ajax.Autocompleter is not a constructor
Hi Rails, I am having trouble setting up an autocomplete text field. Using rails 1.0.0 and just trying to copy the simple scriptaculous demo (http://demo.script.aculo.us/ajax/autocompleter) fails. My view and controller are set up the same way. In firefox 1.0.4 (and safari, don''t remember the version) I get the Ajax.Autocompleter error in the javascript console when loading the
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 Aug 23
0
Ajax.Autocompleter method and URIs
Hello, I''ve looked at a few autocompleters, and really like Script.aculo.us''. I have two suggestions for making it even better: 1) Make the default HTTP method GET, or at least clearly document how to change it (through the prototype options). This will make it possible for the browser as well as intermediaries to cache the results. 2) Make it easier to control the URIs that
2006 Jun 21
0
Ajax.Autocompleter and onchange event
Hello, currently I''m working on a JavaScript-on-screen-keyboard for use with touch screens. To autocomplete inputs I want to use the Ajax.Autocompleter control. The problem is that Ajax.Autocompleter only responds to onkeypress events made with a real keyboard, but my on-screen-keyboard causes onchange events when a letter is clicked and appended to the input field. So, is there a way to
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 Feb 09
22
Length of parameters in Autocompleter.Local()
Hi, I''m using PHP to fill my parameterlist for Autocompleter.Local as shown in the example (http://wiki.script.aculo.us/scriptaculous/show/Autocompleter.Local). <script type="text/javascript"> new Autocompleter.Local(''recipeNameAlternative'', ''rezept_list'', [ <?php $ende = count($rezept_vorgabe); for ($i=0;$i<$ende;$i++) {
2006 Apr 15
1
Begin with Autocompleter
Hi list: I''m a young developer that need a little help with scriptaculous "Autocompleter". I work with PRADO framework (http://www.xisc.com) and PHP as a script language. Now this is a little function in JavaScript for make a AJAX call and show the results without reload the entire page. See below: 1 function makeRequest(url,element) { 2 var http_request = false; 3 if
2005 Sep 15
2
IE iframe bug with Autocompleter over HTTPS
I ran across an issues using the Autocompleter over HTTPS in IE (6.0 in WinXP Pro SP2). I plan to submit a bug report to the Ruby on Rails trac, but first I''d like "to discuss this on th[is] Mailing List beforehand, maybe it''s already known and in the works, or it isn''t a bug" (per http://wiki.script.aculo.us/scriptaculous/show/BugReports) The autocomplete
2006 Jun 20
0
Ajax.AutoCompleter - how to destroy the class object?
Any ideas how to destroy an instance of the Ajax.Autocompleter class? I need to kill the object, along with all it''s Draggables and Droppables. Another alternative, how can I "sense" in javascript, whether there is an already existing Autompleter object?
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
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 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 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));
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.
2005 Jul 24
0
scriptaculous autocompleter on IE
Hi all, I''ve noticed slightly erratic behaviour with the autocompleter on IE. In controls.js, the render method calls the (IE only) scrollIntoView method, which causes the element to be moved to the bottom or the top of the viewport (by passing in true or false, bizzarely). This is perfectly acceptable behaviour for render in general, but this causes the dropdown list to jump around as