Displaying 20 results from an estimated 7000 matches similar to: "scriptaculous autocompletion LIMIT and ajax vs. local"
2007 Jun 14
2
A more fancy autocomplete using scriptaculous and ajax
I want to create an autocomplete text field that when you type in
(some
of) a users name, it pops up the portrait image associated to that
user
on the left hand side, which can then be dragged away in to a
Sortable.Droppable element adding that member to your team...
I can get the results to display, but not where I want them. They are
always in a list below the textbox.
1) possible?
2) Do the
2007 Jan 11
0
Scriptaculous Autocompletion Bug.. (scrollbar)
Hi,
Going thru autocompletion results (using arrows) makes page move.
See here:
http://joost.glasch.nl/moving_autocompletion.mov
The page scrolls (moves) when you use the up-arrow & there is a
scrollbar on the page.
This happens in FireFox 2, IE7, etc..
The movie shows the function test comming with scriptaculous, it
happens when you make your browser window smaller (as in movie) but
also
2006 Jun 19
10
text_field_with_auto_complete doesn|t work in edit/show view
Hi,
I am using the autocomplete for text field with ''Scriptaculous'' and it
works perfectly fine in "new" action.
All the examples I see are only for the "new" action.
But doesn''t default to the selected value/text in "edit/show" action? Is
this possible or should I write custom code for "edit/show" action?
Thanks, Hari
--
2006 Feb 24
1
Autocompleter Problems
Hi,
I''m trying to get autocomplete to work but have been having some problems.
It seems that Ajax.Autocompleter(...) is not getting called. I''ve put in a
alert in control.js:
Autocompleter.Local = Class.create();
Autocompleter.Local.prototype = Object.extend(new Autocompleter.Base(), {
initialize: function(element, update, array, options) {
window.alert("GOT
2006 May 17
3
Autocomplete GetToken??
Hi, I needing to modify the control.js file and am confused about what the
purpose of the getToken function is. I read the docs section below and still
don''t understand why it doesn''t just access the form.value directly.
Docs say:
This method should get the text for which to provide autocompletion by
invoking this.getToken(), NOT by directly accessing this.element.value. This
is
2006 Feb 26
2
auto_complete on steroids
I am trying to get more out of auto_complete than it apparently was
designed to deliver.
My problems seem to be two fold.
1 - I use aggregations on
names... :first_name, :middle_initial, :last_name and then aggregate
them using a composed_of :wholename thing
auto_complete_for seems to be wired to only use table columns directly
and gags on the aggregate form.
2 - foreign table columns -
2006 Apr 11
4
text_field_auto_complete not working in IE?
Hi all,
I''m looking for some insight on why my text_field_with_auto_complete
might not work in Internet Explorer. I''m using it in a fairly simple
way, without much customization.
I''ve broken it down and made a test page at
http://realty.colemanation.org/houses/test which shows the behavior I''m
having problems with. For me on Windows XP this page works
2005 Aug 17
3
Ajax.Autocompleter
I have been working with the Ajax.Autocompleter for about a day so
forgive my ignorance. Is there any value in adding additional
callbacks. I want perform an action when the user selects a choice.
So I was thinking of adding an option {select:
function(selectedElement) {}} similar to the callbacks on Ajax.Request
in the prototype library. Call me out if you think I am crazy my
feelings
2006 May 23
3
comma separated autocompletion, like in Google Bookmarks, GMail, ..
Hi list,
Hi all,
In Google Bookmark and GMail -f.ex.-, autocompletion would help you
enter multiple values in 1 field, separated by commas.
Is there such a solution available somewhere?
This is necessary for the acts_as_taggable plugin, to let people enter
many tags in one file
ex: "rails, ruby, plugin"
but with the help of some AJAX magic. Without it, people have no clue
about
2006 Jan 25
17
Lookup pattern in Ruby
Hi folks,
I''m curious how a lookup with a large group of values would be handled
in Rails.
For example, I have a (contrived) AnimalType filtering a list of many
Animals--more than can be presented comfortably in a dropdown box.
Therefore I need to either redirect to another screen to select an
animal (returning after the selection is made), or show a dialog--modal
or otherwise--to
2006 Feb 13
3
moofx - scriptaculous
I was wondering whether somebody could point me to some documentation on how
I would convert a moofx class to scriptaculous.
Please see this very basic class:
fx.ScrollThumbs = Class.create();
fx.ScrollThumbs.prototype = Object.extend(new fx.Base(), {
initialize: function(el, options) {
this.el = $(el);
2006 Jun 21
11
scriptaculous question
Hello everybody.
I''m wondering if there is away with scriptaculous to update multiple form
fields with data after finishing an autocomplete request.
Heres an example.
Joe BlowSchmoe fills in his name and starts to type in the customer number,
he selects the approprate customer number from autocomplete list, and bam
the address associated with the customer number is populated into the
2006 May 23
2
auto_complete_field help
Not sure what I am doing wrong. Here is what i am trying to do (code
to follow).
I have a form to create a new book. This book can have many authors
and I wanted to be able to add the authors based on if they appear in
the authors table. I originally was going about it a long and arduous
way where I had several forms. After thinking about it I decided to
dynamically add new fields to
2005 Sep 07
3
Autocomplete Error w/Version 1.5_pre4
I recently updated to version 1.5_pre4 to use the excellent in-place
editor, however, I''m now seeing a bug with AutoCompletion.
When text is entered in the text field for auto completion, the
auto_complete div is not updated (but the server does receive the
request and return a response). Upon removing focus from the text
field, 2 instances of the following error can be seen in both
2005 Aug 15
5
Customized Autocompletion
In the customized autocomplete demo, how does it know what content to
use as the value of the autocomplete?
The returned UL has the name, email address and an image. Yet only the
name is used.
How does it do this? I''ve been trying to get something similar going all
morning with little success.
Also, what does :skip_style=>true do? I couldn''t seem to find a mention
of it
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
2006 Jun 27
1
Scriptaculous Problem
Hi!
I am using the auto complete feature provided by Scriptaculous in an
Rails application.Here
is have to write following string in the view:
Select name:
<%= text_field_with_auto_complete :contact, :name %>
and i have to write following write in the controller:
auto_complete_for :contact, :name
But after putting in this code it does''nt work. I knw that i hve to
create a
2005 Sep 16
4
Autocompleter handling multiple completes
Has anyone extended the Autocompleter to do multiple auto-completes in a
single input field? I''m looking to achieve similar functionality to the
del.icio.us <http://del.icio.us> post page which allows multiple
auto-completes of tag names in the tags input field.
cheers,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Aug 01
2
disable ''tab'' key wish for incremental autocomplete of textareas
I''m absolutely in love with the incremental
autocomplete feature in the new scriptaculous.
My one wish would be for some way of disabling the TAB
key to prevent users from being able to tab out of an
autocompleting textarea. (If they''re using TAB to
select the autocomplete choice they end up tabbing
straight out of the input field if autocomplete
doesn''t find any
2006 Jan 23
16
Adding form fields (extending a form) on the fly
Hello,
I just can''t seem to find a way to extend a form dynamically in ROR.
Say I am writing a recipe website. There is one form to enter the
recipe. There is room for N number of ingredients (let''s say a text
field for each ingredient name and selection list for the amount). What
if the user wants to add more than N ingredients as he types them in?
how do I do this without