Displaying 1 result from an estimated 1 matches for "_owners".
Did you mean:
owners
2006 Jun 21
0
text_field_with_auto_complete broken in firefox?
...</body>
</html>
def auto_complete_for_owner_company_name
@owners = []
@owners << "owner1"
@owners << "owner2"
render :partial => ''owners''
end
def testpage
render :layout=>false
end
_owners.rhtml:
<ul class="owners">
<% for owner in @owners do -%>
<li class="autocomplete_item">
owner
</li>
<% end -%>
</ul>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/piperm...