similar to: Quick question regarding updateElement

Displaying 20 results from an estimated 3000 matches similar to: "Quick question regarding updateElement"

2005 Dec 08
4
AutoCompleter afterUpdateElement
Any ideas how I can submit say, a person ID instead of the person''s name on an autocompleter input field? Surely this is a common need. Thanks! Daniel
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
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"
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
2005 Dec 06
9
script.aculo.us AutoComplete Woes
I was wondering if someone could help me with an autocomplete problem. I have the autocomplete div receiving a <UL> that looks like: <ul> <li>Name<br>Email</li> </ul> When the user hits enter and the value is filled into the text field it''s putting both the name and email in the field. I just want the name. Funny this works in Firefox but not IE. I
2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya, I''ve just released script.aculo.us V1.5_pre1. Please give it a try! Important new stuff (since V1.1b1): * Added a main scriptaculous.js file to load in the other libraries transparently. * Fixed a condition where standard a href=xxx links wouldn''t work in autocomplete results. These do now, the onclick event is not cancelled. [thx to Jasper Slits] * Added
2006 Jan 06
3
Gianni
|Hi i''m New First Question: to use a script.aculo.us it needs to include prototype.js and scriptaculous.js.... but doesn''t work!!; instead ||using ||scriptaculous.shrunk of Alister Cameron, work; what are the expedient to use to include the ||scriptaculous.js ? Second question: in script.aculo.us |Ajax.Autocompleter
2007 Nov 15
4
Ajax.InPlaceEditor: controls.js update
I''m not sure if this is a bug or not, but I had to patch controls.js file to accommodate the idea that I had planned. I had to combine Ajax.InplaceEditor and AutoCompleter for a "tagging" feature at my office. With the autocompleter, I need to target an INPUT FIELD by ID. However the generated INPUT field from the Ajax.InPlaceEditor did not include this attribute in
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
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 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 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:
2006 Jan 10
0
Changes to Autocomplete?
Hi all, Can anyone confirm if anything has changed in Ajax.Autocompleter (or Autocompleter[.Base]) in 1.5.1 since 1.5? I've updated to this version and either something has changed (unlikely) or I've made a change somewhere that's borked it (much more likely). Events aren't firing on the text box when I enter input or blur away from the control ... Many thanks! Regards, Cam
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
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'',
2008 Aug 25
1
prototype.js Ajax is slow
So I was doing some experimenting with prototype and ajax and discovered something interesting. When I use the first ajax call the response from the server take 53ms. When I use the second on using the prototype functions the request from the server is over 200ms. My question is why, and can it be fixed? <p><a href="#" onclick="serverSideAlert();">Call
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:
2013 Nov 14
10
Render to clear textbox
There has to be a better way to do this. What I am trying is not working, and seems convoluted. Essentially, a controller method is called, and exits by rendering a partial the purpose of which is to simply clear a textbox in the view. So I am calling the partial which established the textbox -- but it doesn''t work (i.e. it doesn''t clear the textbox). Does anyone know of a
2006 May 23
6
Autocompleter - up arrow moves cursor to start of input box
When using the autocompleter and scrolling through options, if you press the up arrow key the input field cursor moves backward. Some of my users have reported that they find this very distracting. Does anyone know why this happens, or where in the code I could fix it? Steps to recreate: 1. Go to http://demo.script.aculo.us/ajax/autocompleter 2. Type in a letter (or two or three) 3. Arrow down
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: