Displaying 20 results from an estimated 100 matches similar to: "auto_complete_on_select don''t work correctly"
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:
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 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 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 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
2005 Aug 17
3
Ajax.Autocompleter
I have been working with the Ajax.Autocompleter for about a day so
forgive my ignorance. Is there any value in adding additional
callbacks. I want perform an action when the user selects a choice.
So I was thinking of adding an option {select:
function(selectedElement) {}} similar to the callbacks on Ajax.Request
in the prototype library. Call me out if you think I am crazy my
feelings
2006 Mar 09
15
regular expressions slay me
I am furiously trying to find what I am looking for in Pickaxe book and
not finding it.
I''m getting some values back from a posted form and I need to get the
''id'' number off the backend. The ''String'' will always come back to me
as...
Some_name\r\n123
where 123 is actually the id number which I need to execute the find.
The reason they are coming back
2005 Jun 09
1
Using transform on spproj package.
Hi,
I'm trying to use transform my mercator locations into utm but I'm doing
something wrong because only x is transformed ... see
> xy.sp
SpatialPoints:
loni lati
[1,] -8.85 38.16
[2,] -9.19 37.99
[3,] -9.11 37.97
[4,] -9.06 38.15
[5,] -9.03 37.87
[6,] -9.14 37.81
[7,] -9.09 37.70
[8,] -8.95 37.45
[9,] -9.17 37.37
[10,] -9.00 37.34
Coordinate Reference
2008 Mar 20
0
Autocomplete and Firefox
I just noticed that when using autocomplete and firefox, if I return a
list containing whitespace, my input field is not updated. I''ll try
to explain more of the details, I''m using Ajax.Autocompleter and I''ve
used the "tokens" option to allow multiple values separated by
commas. If the server script responding to the ajax request returns a
list in which the
2009 Oct 02
1
How to select a subset <number of dimensions matter>
Hi guys,
I need your help.
I would like to select a subset from a dataset.
This is the dimension of the dataset.
> dim(data1)
[1] 72 36 1916
so, it's like.. there are 1916 of 72 * 36 matrix. ==> looks like 72 * (
36*1916 )
**
*1)*
And I would like to select the first 72*36 matrix. This is how I did:
> two=data1[,1:36]
Error in data1[, 1:36] : incorrect number of dimensions
2002 May 04
2
R crashes trying to read a data.frame
Dear all,
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 5.0
year 2002
month 04
day 29
language R
OS: Win98
I have a strange problem with a particular data.frame built with
2009 Nov 03
2
reshaping pairs of columns
Given a data frame consisting of a pointID and 12 pairs of (lat, long)
variables, with names
latA, longA, latB, longB, ... latL, longL, I want to reshape it into a
data frame with the structure
point source lat long
1 A ... ...
1 B ... ...
I've looked at reshape and plyr, but can't figure out how to do this.
Details of my data frame are below
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
2018 May 19
0
How to average values from grid cells with coordinates
Hi lily,
You could also create "blackcells" as a dataframe (which is itself a
type of list). I used a list as I thought it would be a more general
solution if there were different numbers of values for different grid
cells. The use of 1 for the comparison was due to the grid increments
being 1. If you had larger or smaller grid increments, you would use
the grid increment size for the
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
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
Note that this does not fix gettext for app,
that will be done separately in another patch
as F10/F11 require different setups for that.
In the meantime gettext works if manually changed
in environment.rb to gettext_rails instead of
gettext/rails
Signed-off-by: Jason Guiditta <jason.guiditt at gmail.com>
---
src/app/controllers/application.rb | 200 --------
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 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 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
2006 Mar 07
0
Ajax.Autompleter not working on IE
I have IE 6.0.2 on an old Win 98 machine (that sounds like a vacuum
cleaner when running), but I''m developing with FireFox and on Mac and
Linux where things seem to work fine.
On IE my Ajax.Updater code and my scriptaculous effects are working
fine, but my autocomplete fields are not. I assume I''m doing
something wrong in setting up the field:
I use this on my form:
<input