I fetch out the values of a table (suppose users) from database and want
to show them(user’s name) in a text-field with autocomplete…
Can i do this in rails … If yes, then how can … ?
Do not know any thing about it … May be you people can suggest me some
tutorials for it as well…
Waiting for every possible answer …
Yes of course you can do it.I did it recently, and I did it using jQuery
with the plugin - http://dyve.net/jquery/?autocomplete
I exposed the right JSON API’s from my rails application and I had to
the plugin a bit to suit my needs but it works great.
There are other jQuery plugins you could have a look at too.
As a personal note, I find that autocomplete works well for smaller,
defined sets of possible inputs. People’s names can be, well, almost
anything, and I find autocomplete obtrusive in those cases. It’s not
really saving me anything.
Ok … Unable to do it …
But found another way …
Can you guyz tell me that how to write to a file at a specific position
I mean i want to write every time at line number 3 and character number
10 of file myfile…
Then how can i …?
I’ll tell you the whole answer after resolving it …
Rails has scriptaculous and prototype built in and there are helpers
for autocomplete already. Have a look at the API documentation for
On Aug 25, 11:25ï¿½am, Hemant B. <rails-mailing-l…@andreas-