Displaying 20 results from an estimated 300 matches similar to: "AutoCompleter afterUpdateElement"
2006 Jan 07
3
script.aculo.us: autocomplete does not work
I copied an exact copy of "http://demo.script.aculo.us/ajax/autocompleter"
to my harddisc inclusive all .js and .css.
Then I changed "new Ajax.Autocompleter(''contact_name'',
''contact_name_auto_complete'', ''/ajax/auto_complete_for_contact_name'', {})"
to
"new Ajax.Autocompleter(''contact_name'',
2006 Feb 08
29
Autocomplete and Firefox
Having problems with the autocomplete on my linux box and firefox.
When I use form tags it breaks, without form tags everything works fine.
Exact copy of the example provided, but I added form tags.. The initial
search and select works but then the box sort of "locks up" and I can''t
change it at all, If I do try to type something nothing changes but a
second later the whole
2006 Feb 16
2
Autocompleter question
Hey all,
When using the Ajax.autocompleter, how would I configure it so that the
user is searching based on an entry''s name, but once they select an entry, I
record the ID?
I have the user entering a person''s name in a text box to make it easier
to find contacts in a large database. I know that I can display content
that doesn''t end up in the textbox by using
2005 Sep 22
6
Autocomplete - setting a second value?
I''m using the autocomplete function, and need a way to grab a second
value from the ajax request... an example would probably speak better:
This is my HTML:
<input name="CustomerName" id="CustomerName" type="text" />
<div id="CustomerList"></div>
<input name="CustomerID" id="CustomerID"
2005 Sep 26
1
[Fwd: [Rails] Re: Autocomplete - setting a second value?]
Yeah, right... I posted this to the Rails mailing list.
Sorry for people who see duplicate posts.
-------- Original Message --------
Subject: [Rails] Re: [Rails-spinoffs] Autocomplete - setting a second value?
Date: Mon, 26 Sep 2005 10:05:24 -0400
From: Fran?ois Beausoleil <fbeausoleil@ftml.net>
Reply-To: rails@lists.rubyonrails.org
To: rails@lists.rubyonrails.org
References:
2006 Apr 02
13
autocompletion: hooking ''afterUpdateElement'' in Rails
Hi everyone,
I need to trigger a Rails action after the autocompletion is completed
(when the user has selected an option).
From the scriptaculous doc, I figured out ''afterUpdateElement'' is the
place to be but I wonder if/how and where I can hook my javascript code
to this event in Rails code (I''d like to keep using the helper, if
possible)?
I tried passing many
2006 Feb 12
3
memcache-client/cached_model help
Hi -
Just downloaded and installed the memcache-client and cached_model
gems and am trying to test it out on a development setup. I added
this to my environment/development.rb
CACHE = MemCache.new :c_threshold => 10_000,
:compression => true,
:debug => true,
:namespace => ''eztrip'',
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
2007 Jul 11
10
autocomplete in array
Experts,
have you figure it out with autocomplete to pass as array objects?
still i''m finding out the way to figure. :(
regards,
Bala
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2007 Sep 07
0
Autocomplete Questions (Umlaut,AfterUpdateElement)
Hello all
I got 2 little questions:
The first is, what can i do, when some special Chars like "ä", "ö",
"ü" doesn''t work. Is there a way to edit .js files, and where. ex: if
i use the general AJAX.Request with "postbody: ''name''+escape(var)" it
will work cause of the escape function, but then i had to write the
whole autocomplete
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
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
I have searched a lot for a solution, but I could not find it! I am trying
to make a rails application after watching Michael Hartl''s tutorial and
when i fill data manually and submit it nothing happens and nothing records
in the Mailers table and I am facing the following error:
Failures:
1) Mailer pages mail us with valid information should send a mail
Failure/Error: expect
2006 May 18
1
RE: Rails-spinoffs Digest, Vol 12, Issue 29
Issue 1: <%= @pic %> instead of <% @pic %>
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of
rails-spinoffs-request-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Sent: Wednesday, May 17, 2006 11:13 PM
To:
2005 Jan 24
1
.call file creation
I am curious partly because it has occurred randomly in my asterisk
system. How does one go about creating a .call file for placing a call
between two extensions/phones? I know this has been mentioned and is
probably in one of the wikis somewhere, but I am unsure exactally how to
go about doing it. Can anyone point me in the right direction.
Dan
2006 Feb 13
2
Ajax.Autocompleter is not a constructor
Hi Rails,
I am having trouble setting up an autocomplete text field. Using rails 1.0.0
and just trying to copy the simple scriptaculous demo
(http://demo.script.aculo.us/ajax/autocompleter) fails. My view and controller
are set up the same way.
In firefox 1.0.4 (and safari, don''t remember the version) I get the
Ajax.Autocompleter error in the javascript console when loading the
2008 Feb 24
2
DUNDi with two servers
Hi,
I'm having difficulties with using DUNDi between two servers. If it were
three I think I could control looping by limiting TTL, but with two I'm not
sure how to prevent a loop causing bad things to happen. I've tried ttl=1
but things still blow up.
The DUNDi configurations are pretty simple and work just fine in both
directions as long as only one of them is using the switch
2006 Feb 20
1
[Prototype] onSuccess Event and Ajax.Updater bug in IE
Hi all,
Is there a known bug with Ajax.Updater not working in
IE6? I''m having
trouble with a Autocompleter control that calls a
function that contains
an Ajax.Updater as an AfterUpdateElement callback. It
works fine in
firefox, but I don''t think Ajax.Updater gets called
under IE.
http://pastebin.com/563889
1.
function updater(input, item) {
2.
var
2006 Nov 30
12
Disable autocomplete (Ajax.Autocompleter) on the fly.
I''m sure there is an easy way to do this, but it is one of those things
that is incredibly difficult to search for.
How can I disable an ''Ajax.Autocompleter'' element from working ''on the
fly''? I have a page where I''m using two (I know it''s crazy)
Ajax.Autocompleter elements and once one of them has got a result I
want the other field
2006 Apr 01
1
piggybacking an action on an autocompleted field
Hi everybody,
I''d like to add a custom action to be triggered after/when an
autocompleted field has been/is beeing updated by the autocompletion
process.
I tried the obvious - a field observer -, but it doesn''t work (see code
below). I know I could write the autocompletion code myself, but I
wonder if there is a simpler/more elegant way?
Any idea?
TIA
Alain
The
2007 Feb 17
2
Quick question regarding updateElement
How do you pass the selected value to the function?
new Ajax.Autocompleter(''text'', ''auto'', ''file'',
{paramName:''autocomplete'', updateElement:sayhi});
function sayhi(???){
alert(???);
}
I''ve tried element and element.value but that didn''t work.
--~--~---------~--~----~------------~-------~--~----~
You