similar to: auto_complete :on_show :on_hide

Displaying 20 results from an estimated 20000 matches similar to: "auto_complete :on_show :on_hide"

2006 Mar 10
0
auto_complete_field, :on_hide woes
Hi, I have auto_complete working generating a list and populating a text box in a form. The problem arises when I add the :on_hide option as follows: <%= auto_complete_field "search", { :url => {:action => "search"}, :on_hide => "foo($(''selected_uid''), $(''search_list''))"} > %> :on_hide makes everything stop
2008 Apr 04
4
Auto Complete Problems
Hello All, I''m a RoR newbiew, trying to experiment with Autocomplete, but I''m having some difficulties. When I start typing in my input box, instead of getting a nice drop down, the styling on my page is getting all out of wack (ie my background colours change, link styling changes, etc) and I''m not seeing any autcompletion data. Here are the steps I''ve taken
2005 Dec 21
1
How do you use :on_hide in auto_complete_field?
I''m trying to get some auto_complete_field stuff going, and I have them working for the most part, but I can''t quite get how the :on_hide option works. I''m hoping that I can populate a hidden field with the id of the chosen record with it...is that going to be possible? Thanks for your help. -- Posted via http://www.ruby-forum.com/.
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 Jul 28
2
CSS and autocompleter
hi. I''m rewriting the code from my own save-yourself-if-you-can implementation of xmlhttprequest to scriptaculous autocompleter, and it''s all fine and dandy, except that I am having difficulty positioning the auto_complete div which contains the results returned by xmlhttprequest. the auto_complete div is always stuck in one place, it starts a little below and half
2010 Mar 19
2
auto_complete plugin on rails 2.3.5
Hi, this is my first post. I have run: $ ruby script/plugin -v install auto_complete but the result is: Plugin not found: ["auto_complete"] #<Errno::ENOENT: No such file or directory - /dev/null> I have also try to run: $ ruby script/plugin -v list and the result is: Discovering plugins in http://dev.rubyonrails.com/svn/rails/plugins/ /CHANGELOG /account_location/
2008 Dec 25
5
Plugin auto_complete
Hi all ! I began to develop Rails applications with Aptana Radrails under Windows. For that I had successfully installed auto_complete plugin and succeeded to use it. Now I have an iMac and I''m trying to restart my developments under OS X. My problem is: when I run the command ''script/plugin install auto_complete'', the result is: Plugin not found:
2006 Feb 26
2
auto_complete on steroids
I am trying to get more out of auto_complete than it apparently was designed to deliver. My problems seem to be two fold. 1 - I use aggregations on names... :first_name, :middle_initial, :last_name and then aggregate them using a composed_of :wholename thing auto_complete_for seems to be wired to only use table columns directly and gags on the aggregate form. 2 - foreign table columns -
2006 May 04
1
auto_complete works sometimes...
Hello All: I have set up an auto_complete search field within my application controller and application layout so that it is available to all pages in my app. I have run into a snag with this in two projects I am working on where it won''t work on one particular page related to a specific controller. I get a No Method error on the column name referenced in the auto_complete
2006 May 26
0
Seeking complete example/plugin of simple usage of Lookup (auto_complete) for making associations on models
I think the second most useful usage of the auto_complete is for editing relations (associations). I''ve searched for almost a week on all RoR resources but I didn''t found any solution to this problem. Instead I''ve discovered that there are many looking for this. I think that this problem must be clearly solved and the clear how-to should published on one-more RoR
2006 Jan 26
0
auto_complete with 2 related tables
I''m looking for a wiki / example of how to use auto_complete with 2 different tables so you can use the values in the column of one table to provide a value for a column in a related table. This concept apparently comes after my Agile book and is important to me and I would think should be important to others and I simply cannot make it work. Anyone have a reference they can point me
2005 Sep 07
3
Autocomplete Error w/Version 1.5_pre4
I recently updated to version 1.5_pre4 to use the excellent in-place editor, however, I''m now seeing a bug with AutoCompletion. When text is entered in the text field for auto completion, the auto_complete div is not updated (but the server does receive the request and return a response). Upon removing focus from the text field, 2 instances of the following error can be seen in both
2005 Aug 24
0
Auto_complete text field submits form on enter
Hi all, quick question if anyone else has come across this before. I''ve set up an auto-completing text field okay, and the drop-down list appears okay, but when I select the option I want and hit <Enter>, it selects the value then submits the entire form - instead of just selecting and inserting the value into the text field. Any ideas? Kind Regards, -Karl P.S.
2010 May 05
0
Auto_complete with has_one association
Hi, Have an issue with the rails auto complete, it works fine but I don''t know how to find the id element search in the textfield. Here is what I''ve done: <%= text_field_with_auto_complete :user, :ville_name, { :size => 15 }, { :url => formatted_villes_path(:js), :method => :get, :param_name => ''search'' } %> Model: class User <
2009 Sep 23
4
auto_complete text field not showing drop-down box properly
This may be more of an Ajax question than a Rails question, but I''m pretty new to Rails and know approximately zero JS. I''d love if someone could give me a little direction. I''m using pat shaughnessy''s nested text_field_with_auto_complete plugin, and it seems to be *mostly* working properly (after many hours of fiddling). However, the drop-down box is not
2007 Nov 11
3
Scrollable selectbox for auto complete
Hi everyone, I have used used scriptalicious for the autocomplete. It works but with one problem. When scrolling down the list, the values not visible are not scrolled into focus. eg I use the keyboard down or up key. Here is my CSS <style type="text/css"> div.auto_complete { height: 100px; width: 350px; background:
2006 Feb 11
1
auto_complete
hi guys I am trying to work the AJAX text_field auto_complete and I was wondering if someone can show me a sample code of how it works thanks I really appreciate it -- Posted via http://www.ruby-forum.com/.
2006 Jun 21
3
Is this a weird bug with auto_complete?
I think I may have found a bug with the auto_complete feature in rails: My controller has a before_filter with an except clause preventing the filter from running on a specific action. The action renders a view with a text_field_with_auto_complete field. Much to my suprise, the filter appears to run when I type data into this field! The filter is part of my security regime, so I end up with a
2006 May 18
0
auto_complete when tab pressed problem
Hi, This is probably as much a script.aculo.us issue as much as a Rails one. The default behaviour of the AJAX auto_complete control seems to be to select the first match from the list when tab is pressed. Is there a way to configure the control to leave the typed text unchanged when the user types tab and just move the focus to the next control in the form? Thanks, Geoff -- Posted via
2006 Apr 28
1
auto_complete galore
List, I''m using auto_complete with textfield, called CompanyCode. so when you type fx ''0403'' it will show a list with matching company codes, and the respective company name - like so: 040333 - Some company inc 040322 - Another company 040323 - whatever Corp. Anyway, once a user selects one of the entries from the list - the whole text (name and code) is put into