Displaying 20 results from an estimated 10000 matches similar to: "Help needed regarding Yahoo autocomplete UI in rails"
2008 Dec 24
0
about yahoo UI 2.6 data source
hi,
I am using yahoo UI autocomplete in my rails application.
I want to use XML data format.
I have a tag_list field in view file.
this is my code in controller
def filter_tag
@tags= Tags.find(:all)
end
I can not understand how can I format the resultant data(@tags)
in xml format for response.
please give me some example source. I have googled
2011 Jul 07
2
Rails 3.1 + jQuery + jQuery UI = data is null
Trying to get jQuery UI to work with my rails 3.1 setup, but i keep
getting errors that i cant see posted anywhere, this is driving my
insane so please have a look =>
[application.js]
// This is a manifest file that''ll be compiled into including all the
files listed below.
// Add new JavaScript/Coffee code in separate files in this directory
and they''ll automatically
// be
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
2005 Aug 02
4
Fwd: Re: disable ''tab'' key wish for incremental autocomplete of textareas
Hi Tim,
Thanks for the commentary, you bring a good point to
light: I think the asynchronous nature of AJAX needs
to be looked at more carefully in our UI assumptions.
The key difference between AJAX auto-complete and any
other browser/OS autocomplete is that we can''t
guarantee having the results ready by the time the
user wants to hit TAB. In the old days we used to
have everything
2006 May 11
0
link_to_remote() can do something like Yahoo! UI "argument"?
Hi,
I am using Rails'' link_to_remote() and I want to do the same thing
Yahoo! UI''s connection manager "argument" can do. From the Yahoo! UI
docs:
"argument: an object, string, number, or array containing data that
your success and failure functions might need in order to successfully
process the server response."
So, you use argument when you make the ajax
2006 Jun 14
0
Help regarding autocomplete customization
I tried working with the example on customized autocomplete at
http://demo.script.aculo.us/ajax/autocompleter_customized.
The code is working fine on Internet Explorer.
But I had a problem when working with mozilla.
The list was getting displayed but the selected value is not getting pasted
in the textbox.
can anyone help me with this???
Thanks in advance,
Veena
www.neevtech.com
2012 Sep 20
7
jQueryUI autocomplete (Rails 3.1): can't get source as url to work
Hey,
I''m able to duplicate everything in Ryan Bates'' screencast on jQueryUI
autocomplete (#102<http://railscasts.com/episodes/102-auto-complete-association-revised>),
except for the piece that calls the server for completion data.
Here is my view html:
<input data-autocomplete-source="/searches" id="search-markets"
2006 Mar 03
5
Yahoo UI Library with Rails
Has anybody used the Yahoo UI library successfully with rails? I am
particulary interested in some of the ratings tools they used (like 4 out of
5 stars thing rating a post). Curious to see if anyone out there has worked
with this at all.
adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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 Aug 24
1
Re: triggering autocomplete with a button press
I''ve got a search field on my site that uses an autocomplete to match
against search terms already input by the same user. That''s working
perfectly. However, I''d like to provide a little button next to the
search field that triggers the autocomplete, so that the users can
"browse" the list of past search terms. This behavior would be in
addition to the
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
2006 Jan 23
1
autocomplete=off not working on Firefox
I noticed that the latest control.js disables auto complete:
this.element.setAttribute(''autocomplete'',''off'');
So I removed my inline "autocomplete=''off''" from my input fields.
But Firefox still auto completes.
Using the Firefox DOM Inspector I do see that it''s applied
by Ajax.Autocompleter as expected. The Inspector
2011 Oct 24
1
JQuery autocomplete example
I was trying to follow along on the github example
(https://github.com/crowdint/rails3-jquery-autocomplete) for building
an autocomplete and ran into a small set of problems. I''m not using
the exact names of models, but I suppose I could. It''s just a dummy
set. For me: Model is Package and attribute is Brand.
I don''t understand what the reference to class
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 Feb 11
1
autocomplete inside a table?
Has anyone tried putting an autocomplete field inside a table?
I can do this successfully within FireFox, but in IE, it just doesn''t
render the "drop-down" autocomplete div. Unfortunately, I don''t
understand enough about why IE doesn''t work to know how to fix it.
My autocomplete div CSS is:
div.auto_complete {
position: fixed;
border: 1px solid #eee;
2007 Aug 08
1
autocomplete field in ajax response html - css does not get applied.
Hi all,
I have a page in which a div is updated with some html via Ajax. The
returned html contains an autocomplete field. The autocomplete field
works but the drop down results div does not get css applied to it so the
selections don''t get highlighted when I use the up/down arrows and so
I am unable to select from the drop down except for the first item. I
have been looking at this in
2006 May 16
0
in_place_editor with local autocomplete
Hi Rails gals n guys
I am trying to enhance the "Lightning-Fast JavaScript Autocompletion"
rails recipe. For those that do not have the pdf-book the recipe
explains how to use a javascript array for an auto-complete text field.
I want to combine this with the in_place_editor call. My current
(unworking) code:
<!-- Load the array for autocomplete -->
<script
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
2007 Jan 30
0
Autocomplete nested within AJAX partial
I have the scriptaculous autocomplete working perfectly for normal
page access. But having problems when combining with AJAX.
The page contains a div that is updated dynamically via AJAX.
Also the autocomplete field lives within this dynamic region.
On first load (normal page access) the autocomplete works fine. However
it stops to respond once AJAX updates the region.
It seems I am missing
2006 Mar 13
2
Autocomplete broken after update to Rails 1.0
When I upgraded to 1.0, I broke autocomplete on a field. I''ve done
everything that I can think of to fix the problem, but nothing has
worked. I''m able to recreate a simple autocomplete from examples on the
various tutorials, but my original code just will not work.
<input id="incident_first_party_name" name="incident[first_party_name]"