similar to: text_field_with_auto_complete :after_update_element not firing

Displaying 20 results from an estimated 4000 matches similar to: "text_field_with_auto_complete :after_update_element not firing"

2006 Apr 16
2
:after_update_element on text_field_with_auto_complete
I have a a basic prototype coded: #view <%= text_field_with_auto_complete :student, :last_name, { :size => 15 }, :after_update_element => "alert(''hello world'');" %> #controller class ScoresController < ApplicationController auto_complete_for :student, :last_name end If I take out the :after_update_element option everything works as advertised.
2006 Aug 07
0
multiple text_field_with_auto_complete in IE/Opera
I have a text_field_with_auto_complete in _each_ row of my /list table. I use the autocomplete box in a row to update info in that row. I noticed that all of them get the same id and name attributes (user_uid and user[uid]). This doesn''t cause a problem in firefox 1.5 on windows. However on IE 6/Opera 9 I can only get autocomplete in the first box, and that box on
2006 Aug 07
1
Escape ''&'' in text_field_with_auto_complete
Good day. I have searched on the net and through the archives to now avail as of yet. I have a text_field_with_auto_complete that searches for company names. These company names obviously can have an ''&'' in the name of the company (example Barnes & Nobel). The auto complete works beautifully. However, the problem arises when I pass the name of the company to the
2007 Jan 25
2
text_field_with_auto_complete problem
I have some difficulties with text_field_with_auto_complete. I’m new to this, it just will not work, I must be doing something wrong. It would be great if someone could advise me. I have tried to follow advice available on the internet, so I don’t know what the problem is. The script gets as far as the breakpoint in the controller, but it doesn’t like the next line – giving the error message
2007 Jan 11
2
text_field_with_auto_complete() - problem
hello rubys, i got a problem with the text_field_with_auto_complete(). everthing''s working but unfortunately the items (which are for choosing) are filled into the input=text in a way that is unacceptable. the first 6 characzers are empty-spaces, than the item and at last 5 empty-spaces. doeas anybody know why? and maybe how to solve this problem? my code is following: view:
2006 Jul 11
0
text_field_with_auto_complete problem
hello all, I am trying to get a customized text_field_with_auto_complete working where the generated dropdown will display not only the list of teams (first line), but also their city and country(second line). In my view, I have: <p> <label for="team_name">Team: </label> <%= text_field_with_auto_complete :team, :name, {}, :skip_style => true %>
2006 Jun 21
0
text_field_with_auto_complete broken in firefox?
I am seeing a problem with text_field_with_auto_complete in which the input does not get populated with the selected value, but only in firefox (1.5.0.4). Works in IE just fine. I have a super-simple mockup that shows this problem below. Can anyone please confirm for me that this does/does not work in firefox or point out my mistake? I''m wondering if I need to submit a bug? The example
2006 May 22
0
Problems with "text_field_with_auto_complete"
Hi, I am discovering RoR with Ajax and have some problem. I wanted to use the helper "text_field_with_auto_complete" I didn t succed to obtain the visual render (a drop down list) like here "http://demo.script.aculo.us/ajax/autocompleter"<http://demo.script.aculo.us/ajax/autocompleter>. Here is the code I use: |# view Just a little test: <%=
2006 Jun 23
0
Re:(RESOLVED, KIND OF) auto complete and after update element
Well, I did finally get the after_update_element to call my controller action with the following syntax: <%= text_field_with_auto_complete ( :customer, :company_name, { :size => "45" }, :after_update_element => "function(element,value){" + remote_function( :url => { :action => :get_customer_info }, :with =>
2006 Jan 20
3
text_field_with_auto_complete
Hi, I am trying to use text_field_with_auto_complete, it works fine but when I click on an item (even if I use the up and down key and then type enter) th search panel disappears but the selected results is not shown in the text field. Even more, the text field becomes empty. Any idea? Thanks S?bastien -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 23
5
text_field_with_auto_complete
I am having some trouble using `text_field_with_auto_complete'' in Firefox. For some reason, the drop-down list is being rendered behind other table elements. Firefox (broken): http://schema.ca/broke.png Safari: http://schema.ca/safari_works.png I''m wondering if anyone is aware of this problem, and what I might be able to do to work around it? Thanks, -Mike
2008 Jun 12
11
auto_complete with multiple params
I''m using the auto_complete plugin, and it works great, my problem is i need to pass multiple parameters to the controller other that what is typed in the text field. <%= text_field_with_auto_complete :search, :contains, :size => 15, :frequency => 0.1, :skip_style => true -%> This is what i have as of now, but i also need to pass ":language => @default"
2008 Jun 19
2
undefined method `text_field_with_auto_complete'
Hello everybody, I am new to ruby on rails, I am trying to create an auto_complete field on Ruby on Rails 2.0 and even though I have installed the auto_complete plugin and followed the instructions of various tutorials, specially the following: http://trix.pl/blog/auto-complete-for-rails-2-0-tutorial.html I am still getting the same error: undefined method
2006 Jan 06
0
Rails newbie question
Ok, I''ve got an autocomplete dropdown, and what I want to do is get the value selected from the dropdown, and then render a link_to that will pass that value (:id => ???) to a controller method. Can I do this all in the partial (like I''m attempting below), or do I have to go from text_field_with_auto_complete back to the controller, then render the link_to in another
2006 Oct 23
10
text_field_with_auto_complete
Hi,all I''ve used text_field_with_auto_complete for a while but still haven''t figured out how to store the value that I selected from the suggested options. any hints? Thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Feb 18
0
question on text_field_with_auto_complete
Hi, I have a tricky question about text_field_with_auto_complete. I''ve created an admin section for a database of books and on each page there is a form at the top with a single search field on the title of books. So I''ve used: <%= start_form_tag ({:controller => ''books'', :action => ''edit'' }) %> <label
2006 Feb 27
0
auto_complete_field Vs text_field_with_auto_complete
Hi, I want to know which of the two methods, auto_complete_field and text_field_with_auto_complete best suits what I am trying to do. I have a model class called search (which doen''t extend ActiveRecord) which holds two parameters, category_string and postcode_string. I want my form to bind its values to these to values. I also want the category input to be an auto complete field
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
2009 Jul 10
3
text_field_with_auto_complete
I need to pass a parameter in my text_field_with_auto_complete and am struggling to discover how to do this. I have something like this: <%= text_field_with_auto_complete ''user'', ''username'', {}, {:with => "''post=''@company_title.id"} %> but because it is in a partial that pops as a result from a remote_function_tag, I am
2006 Apr 02
13
autocompletion: hooking ''afterUpdateElement'' in Rails
Hi everyone, I need to trigger a Rails action after the autocompletion is completed (when the user has selected an option). From the scriptaculous doc, I figured out ''afterUpdateElement'' is the place to be but I wonder if/how and where I can hook my javascript code to this event in Rails code (I''d like to keep using the helper, if possible)? I tried passing many