similar to: Autocomplete field - onChange immediately after selection

Displaying 20 results from an estimated 10000 matches similar to: "Autocomplete field - onChange immediately after selection"

2006 Mar 01
4
Delayed input posting
Dear all, I''d like to post input field a short delay after last key press (similar like a delay in autocomplete field). Is there anything already done somewhere, maybe some kind of a streched-down autocomplete field just for such purpose? If no, have anyone an idea how can I do that (as a not very knowledgeable in JavaScript)? Thanks for any help Janko
2006 Jun 21
0
Ajax.Autocompleter and onchange event
Hello, currently I''m working on a JavaScript-on-screen-keyboard for use with touch screens. To autocomplete inputs I want to use the Ajax.Autocompleter control. The problem is that Ajax.Autocompleter only responds to onkeypress events made with a real keyboard, but my on-screen-keyboard causes onchange events when a letter is clicked and appended to the input field. So, is there a way to
2006 Mar 07
6
how to add onchange javascript event to select field
I would like to add javascript ''onChange'' event handling for a select field, such as <%= collection_select("job", "client_id" , @clients, "id", "name") %> with onChange="xxx" Anyone know how to make this work? Thank you, Scott -- Posted via http://www.ruby-forum.com/.
2008 Apr 03
0
text_field autocomplete onchange is not working ?
how to solve that ? any idea ? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to
2009 Oct 29
0
Javascript in text field with autocomplete
If I am using the autocomplete plugin, and I have a text field specified in a form that incorporates autocomplete, such as: <%= text_field_with_auto_complete :doctor, :organization, :autocomplete => "off" %> how can I put javascript event handlers to if (e.g. keypress, onchange, etc.) ? WHat I really want to do is call a method in my controller if either: 1. The text field is
2006 Mar 24
2
Slider: passing the slider object to onChange and onSlide?
I''m working with a couple of slider objects on one page. I''m using onChange to do a couple of things. onChange passes the new value of the slider, but not the slider object itself. Has anybody found a way to get the object? More details: A simple example would be to do the following: Put multiple sliders on a page. Now, when a slider is moved, change it''s track
2005 Oct 20
1
Autocomplete - Destroying the object
Hi, I''m new to all this so if this is a daft question sorry. I''m using Ajax Autocomplete to populate a search box with likely matches. These results need to be filtered by an option from a select box that is alongside the search box. As the current Autocomplete function only takes in one id to post to the search file, i figured i could post more stuff to the Ajax.Autocompleter
2005 Jul 25
0
Code for onChange is missing
Hello, onChange as advertised for Sortable cannot work, as there is code missing. // onChange event handler element.sortable = {}; element.sortable.onChange = options.onChange; needs to be added to Sortable.create() to make it work. Bye, Martin
2006 Jan 14
3
In place editing and external control
Dear all, First I''d like to thank authors for so nice Scriptaculous and Prototype libraries, which helped me already a lot! I have question regarding externalControl parameter in InPlaceEditor. If I understand correctly, I can use that to have one image as a trigger to enter edit mode? I tried with below code but without success: <span id="id1">My text</span>
2007 May 25
2
Sortable onChange fires for every mouse movement
Anyone found that sometime between 1.6.4 and 1.7.1 beta releases of Scriptaculous that something has changed with the way that the onChange is fired? In 1.6.4 it fired once, now in 1.7.1 beta it fires everytime you move the mouse. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs"
2006 Feb 10
0
AJAX update for select list onchange?
Hi Rails Users, I have a select list that I''d like to use to update a div onchange. Right now I just have the div appear, but not update: <%= select_tag( "profiles_select", option_tags = @profiles, { :onchange => "new Effect.Appear(''the_profile'', { duration: 0.5 } );"
2006 Jun 14
4
Select box onchange problem
Hi, i''ve got the following problem. I have a check_box witch shows a list of varieties. Now i want to call a action when the user changes his selection. (the method to be called, will store the selection from the user). This is my code: <%= select(''variety'', ''variety_id'', Variety.find_all.collect {|c| [c.description, c.id]},
2005 Jul 30
0
Autocomplete text field -- what''s it for?
This question is probably naive, as obviously lots of people make use of the autocomplete text field. They provide a great functionality to the _end_ _user_, they look nice and the interaction is intuitive. Still, I just don''t see how to use them sensibly. My major misgiving is that I only get text where I actually want a primary key. I''ve got my own implementation of this
2008 May 05
1
Passing values selected with onchange remote_function
How do i pass the value selected from a drop down selection and then extract it in rjs <% select("what", "hello", @selection, {}, {:onchange => remote_function(:url => "test", :my_variable => "hello again") } ) %> thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2006 Mar 28
0
using ''onchange'' option in select from a partial to update a
I''m new to Rails and don''t totally understand some of the control behavior of ActionController. Here''s my problem: I have a _header.rhtml partial view that is supposed to be the header (naturally) on a main.rhtml view (i.e., main.rhtml calls the header partial via the render method). In the header view is a select field that I''d like to have refresh the
2005 Dec 22
0
Any way to add ''onchange'' to a ''select'' helper?
I basically have a select menu with two options: -- Leave password unchanged -- -- Enter new password below -- I want my form to use a sexy prototype effect to SlideDown the text field when the second option is selected. That way the user isn''t confused by a blank password field when they''ve selected to leave the password unchanged. Can I do this with Rails''s
2006 Oct 28
2
onchange="document.forms[0].submit()" - how to CANCEL
Goal: I want to auto-send a form whenever any field changes. The page will be updated "via Ajax", so standard submission is cancelled. Idea: Add onchange="document.forms[0].submit();" to every field Problem: Can not cancel form submission. Browser redirects to "results" page, which is of course JavaScript meant to dynamically update the page. RHTML snippet:
2007 Mar 19
0
Firefox Input Fields with Autocomplete=off
In FF 2.x if you turn off autocomplete on an input field it triggers an undesired side effect. Pressing UP and DOWN now move the cursor to the left and right. This only happens in FF and only with autocomplete off. This does not play well with script.aculo.us AutoCompleters. I need a way to force the cursor to the end of the input string whenever UP or DOWN is pressed. Is this possible? Thanks,
2012 Apr 09
0
Autocomplete text-field version of dynamic select menu?
I have a form for submission of brand, model, and style. Style belongs_to model, and model belongs_to brand. The form is actually a style submission form, but allows users to create new brands or models as well, should they not exist. What I want is for the autocomplete for ''model'' to populate when an object for ''brand'' is selected in the first text field..
2006 Jun 05
1
:onChange and AJAX forms
Hi, I have this: <%= form_remote_tag (:update => "item_type_list", :url => {:action => :list_item_type_for_brand}, :id => "form1") %> <div> Brand <%= select :current_brand, :id, @all_brands,{},{:onchange => "submit()"} %> <input type="submit" value="Change" /> </div> <%=