hi-
is this possible? basically, i have a simple search text box whose
contents i want to send to my server to suggest a query. that
suggested query will be in turn retrieved from a 3rd party API. I
cannot figure out for the life of me how to use
text_field_with_auto_complete without a model.
This code below will display Search Friends in the text box IF
{:select = 'friend'} is not there and the ajax call also does not
work. Any ideas how to get the text and to disaply and have the ajax
call work?
%= text_field_with_auto_complete :friend, :name,{:select =
'friend'}, :value = Search
Hi, I've run into a problem with text_field_with_auto_complete because I
can't figure out how to just pass a parameter into the method. For
example, here's what i want to try and do:
%= text_field_with_auto_complete :profile, :lastname, :conference_id =
@conf %
And in the method I'm doing this:
I feel I'm on a constant Yak Shave
(http://projects.csail.mit.edu/gsb/old-archive/gsb-archive/gsb2000-02-11.html)
I am playing with Auto Complete's, due to some excellent tutorials on
railscast.com I have been making progress although hit a small stumbling
block which hope you can solve.
So I
I'm using text_field_with_auto_complete to index the keywords of
something.I created a 'resource' model,and it has a 'keywords' column.
in the resource controller:
auto_complete_for :resource,:keywords
and in the view:
%= text_field_with_auto_complete :resource, :keywords, {:onfocus =
I'm using text_field_with_auto_complete to index the keywords of
something.I created a 'resource' model,and it has a 'keywords' column.
in the resource controller:
auto_complete_for :resource,:keywords
and in the view:
%= text_field_with_auto_complete :resource, :keywords, {:onfocus =
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
My auto complete field does not work in Chrome and just wondering if
anyone else has had this issue and have you gotten it fixed?
My view code:
bType in closest home airport: /b
%= text_field_with_auto_complete :airport, :city,
{:value = @airport.city + [ + @airport.code + ],
:class =
I have a text field with auto complete that allows a user to choose a
name from the list and when that name is selected that name is taken out
of the list of available username to select from.
Today I got notification that someone using my app uses Safari and the
described functionality doesn't
Hi,
I have text_field_with_auto_complete , The problem i faced here is
when type the text like firstnamelastname.When i get value of text
field in controller i only get the firstname. i couldn't get text
value after '' symbol. i guess the symbol is the problem here. but i
need to use the
10 matches
Mail list logo