Displaying 1 result from an estimated 1 matches for "auto_complete_for_partner_nam".
Did you mean:
auto_complete_for_partner_name
2006 Feb 24
1
Autocompleter Problems
...w is as follows:
<%= text_field_with_auto_complete(:partner, :name,{:size=>10}) %>
which produces the javascript:
//<![CDATA[
var partner_name_auto_completer = new Ajax.Autocompleter(''partner_name'',
''partner_name_auto_complete'', ''/partners/auto_complete_for_partner_name'',
{})
//]]>
And in my controller:
class PartnersController < ApplicationController
layout "default"
auto_complete_for :partner, :name, :limit=>10
def index
@title = "Partners"
list
render :action => ''list''
end
I have...