similar to: auto complete a text field

Displaying 20 results from an estimated 4000 matches similar to: "auto complete a text field"

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 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 Mar 08
2
(no subject)
Can anyone point me in the direction of a good tutorial on visual effects in rails? I''ve searched and I''ve asked but I can''t seem to find any good documentation on ajax visual effects, combining of effects, or queued effects. Charlie Bowman http://www.recentrambles.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 28
2
acts_as_taggable and auto_complete
I''m using the acts_as_taggable gem (who''s site has gone AWOL apparently) and I''m wanting to make it autocomplete. I, however, am the absolute worst JavaScript person ever, so is there anyone out there that can point me to a tutorial or give some good starting points? Thanks! Kenneth -- => the blog from beyond <= => www.eyeheartzombies.com <=
2006 Jan 14
2
Using AutoComplete(script.aculo.us) with DB-Query
Hi, I''m using AutoComplete from script.aculo.us and want to combine this with a call to a database. Is there any work done so far or do I have to implement all on my own. The only thing I have seen is using results from a file on the server. But that is not very handy. Some words to my background. I''m programming for a project at my university. Our aim is to combine the
2006 Mar 14
7
Single form w/ relationships: how do I integrate it?
OK - I know this has been asked before, but I cannot find it in the archives. Forgive me if I''m creating more noise than I should. I want to know the easiest way to deal with this scenario: I have articles. I have categories for the articles. On the form where you write an article, there needs to be a free-form field to entire the category. The create() method will build the
2006 Feb 27
2
Ajax - from there to here
Trying to use Amy Hoy''s ajaxariffic auto_complete methodology and I am getting really close to the end. This is fairly complicated but I will simplify as best I can. My view code is simple... <%= text_field_with_auto_complete ''client'', ''wholename'' %> # wholename is not a column in ''clients'' but rather represents an
2006 Jan 03
3
Global functions and variables.
Hey People, I''m fairly new to Rails and have perhaps an obvious question. I would like to know if there is a place that I can declare variables and methods that are globally available to all controllers. My main reason for this is I like to auto generate select boxes based off of the contents of a hash and would like to be able to do this in all views in all controllers, so that I do not
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 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
2006 May 05
7
Problem with autocomplete
Hello, I''m using scriptaculous library (in symfony) v. 1.6.1 Great library !!!!! I have a problem. While in IE6 it''s all ok (the autocomplete field works perfectly) in FF 1.5.0.2 the field apparently isn''t working. If I try the example in the scriptaculous homepage (v. 1.4.0_pre4 of Prototype) doesn''t work with FF, while the simple online demo, that uses
2005 Dec 30
5
scriptilicious autocomplete
Hello I found this list on the scriptilicious website. I am looking for some help with the Autocomplete.Local, the only examples I can find are using it with Ruby, can this be used without Ruby with just plain Javascript? Any help would be great, thanks! --louis
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
2006 Jun 01
2
Best practices?
I just saw a mail about the best practices of something or other, and I was wondering is there a place where Ruby and RoR best practices can be found? Phil J. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060601/52ab6a0f/attachment-0001.html
2006 Feb 13
2
would like to have the input text highlighted in the autocomplete div
Hello everyone, I would like to have the input text highlighted in the autocomplete div (similar to google suggest) Any ideas how I can get this working with the autocomplete class ? Thanks, Shyam
2006 Apr 15
1
Begin with Autocompleter
Hi list: I''m a young developer that need a little help with scriptaculous "Autocompleter". I work with PRADO framework (http://www.xisc.com) and PHP as a script language. Now this is a little function in JavaScript for make a AJAX call and show the results without reload the entire page. See below: 1 function makeRequest(url,element) { 2 var http_request = false; 3 if
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
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 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
2007 Oct 02
3
Note on Rails 2.0 Preview
Make sure you get a relatively current version of rspec or you will get: /Users/me/rails/ubb/vendor/rails/activerecord/lib/../../activesupport/ lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper (NameError) Hope this helps someone.