similar to: Autocompletion for <SELECT>

Displaying 20 results from an estimated 1100 matches similar to: "Autocompletion for <SELECT>"

2006 Mar 08
0
Autocompletion for <SELECT>
[note: I sent this note to Spinoffs with no takers. Hoping someone here has some advice. Thanx. Jodi] Greetings all. I am looking for an ajax-a-fied select box (single select). Unlike the autocompleter for a text field, it would restrict the entry to only those entries returned. Ala Ticket #2586 [ http://dev.rubyonrails.org/ticket/2586 ] "Essentially an autocomplete that only allows
2005 Aug 23
0
[script.aculo.us][Patch] Autocompleter.selectEntry()
I made a small patch to controls.js. I moved the line this.element.focus() from the end of selectEntry() to the end of updateElement(). The rationale is that if the user uses the options hash to override updateElement, he/she can choose which element to focus next, instead of being forced to the default. You can see an example on the wiki page (still under construction)
2008 Apr 10
1
help on ajax autocompleter
the div list of words doesn''t get updated # controller class Words < R ''/words'' def get ("word01".."word20").each{|w| (@words ||='''') << "<li>#{w}</li>"} render :_list @words end end #views # def layout html do head do link :rel
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
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
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
2008 Jan 05
0
Patch Review #10712: Auto Complete Option
I''ve posted a patch for support the AutoCompleter updateElement option allowing the auto_complete plugin to customize the behavior of the auto completion. I required this to fix my app and it is deployed in production. Patch is dead simple and should be a quick sign off for anyone using the plugin. -- Gabe da Silveira http://darwinweb.net
2005 Dec 15
3
Pdf::Writer and "Replacement Tags"
Having read over the ruby pdf generation (simple reporting) options, I think Pdf::Writer will do just fine... ..if the following is possible On page 13 of (the really expansive) ::Writer manual, Replacement Tags are detailed. Before I jump into this tomorrow, I''m hoping for some triage sage advice. Finally, the question : "Would utilizing Replacement Tags be a suitable
2006 Jun 02
5
scriptaculous autocompletion LIMIT and ajax vs. local
Hi, I am using scriptaculous ajax autocompletion (not local autocompletion). I have 2 questions: 1 - The database query being sent to the server always has LIMIT 10. I don''t want to have a limit, but I just can''t for the life of me find where this limit is set in the code. I did see "choices: 10" in controls.js but that''s for autocompleter.Local, which I
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
2008 Apr 03
3
Branchable migrations -- A plugin to let you organize your migrations
I just put a new plugin named branchable_migrations on Github. Branchable migrations lets you separate your migrations into "branches" (i.e., a director under db/migrate) that each have their own version. Using the forthcoming UTC timestamped migrations and this plugin, you can separate migrations by table or feature. Doing so should alleviate many of the problems that seem to pike up
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 Jan 10
0
Customizing autocomplete to update more than one value upon vaule select
Good day. Currently I have a system that will successfully add a row to a table. Each row in this table will represent a new product being added to a purchase order. The user can enter a quantity and then select a product code. The product code is the auto_complete field. This field works. However, once the user selects a product code then the values for the product description, buy price, and
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
2009 Jun 18
1
undefined method `text_field_with_auto_complete'
Dear all: I got the error in my rails 2.2.2 project on ma os x leopard. i did as follow: script/plugin install auto_complete but when i start the server and try to approach the page which used the auto_complete, it can''t find the helper method as the error told: "undefined method `text_field_with_auto_complete'' ", than i try this in script/console helper.methods i
2006 Jan 03
2
Pdf::Writer ; page numbering, and table wrapping
Hey there, I know this isn''t a pdf::writer list - If there''s a more appropriate place for me to ask these questions I''d appreciate being set straight. I''m having a couple of misunderstandings/isssues first with page numbers and secondly with auto-wrapping of simple_table. First pdf.start_page_numbering(pdf.margin_x_middle, pdf.absolute_bottom_margin, 9,
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"
2007 Feb 07
11
Running patched rails
Hi, Does anyone have any tips for running a patched version of rails? I am currently running rails 1.2.2 and would like to keep up to date with any future releases. I also want to run with the following patch: http://dev.rubyonrails.org/ticket/5748 I am unsure how to manage this. Is this something SVN or rake can handle? Any tips/pointers would be very much appreciated. Thanks, GiantCranes
2007 Jul 18
3
Help. Acts_as_Authenticated plugin stops working for me?
Hi, I successfully installed AAA couple days before, and i managed to register a uer with it, with no user activation. but for some strange reason, it stops working for the signup method, with i go to the signup page, press submit, it shows an error page, what''s wrong? here''s the error page. undefined method `activation_code'' for #<User:0x3b6dbd
2005 Dec 15
3
site home page
Hi, I have a really dumb qustion, but I can''t find an answer in "Agile Rails" or any other hand holder. And, it is a difficult topic to search for in google. What controller/view is used for the home page of a site? I get how to create new controllers, but I don''t get at all how to change content on the home page. thanks, matt On 12/14/05, Austin Ziegler