I'm trying to use Ajax.autoCompleter as a select list
like this
afterUpdateElement: function(el1,el2) {
el2.innerHTML.evalScripts();
}
ok it is working fine in IE, but in FF,
it display the value from script tag in the textbox
my response is like this
CLAUDIO ANGELO VENTUR
Daniel
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 2:07 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] Autocompleter
Is there any way to set the height of the Automcompleter
al Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 2:07 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] Autocompleter
Is there any way to set the height of the Automcompleter's div that gets
s
not work with the autocompleter.
Daniel
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 2:07 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] Autocompleter
Is there any way to set the h
Is there any way to set the height of the Automcompleter's div that gets
the return values? When you set it with an overflow, it works, but if the
user scrolls by clicking on the scroll bar the list disappears...
___
Rails-spinoffs mailing list
Rails-s
Grzesiek
Slusarek
Sent: Friday, July 28, 2006 4:49 AM
To: rails-spinoffs
Subject: [Rails-spinoffs] autocompleter and IE6 crash
Hi all. I overloaded autocompleter.local and write my own web
user control, everything works fine on FF 1.5 and Opera 8/9 but
when I start using it in IE6 after while I get
Hi all. I overloaded autocompleter.local and write my own web
user control, everything works fine on FF 1.5 and Opera 8/9 but
when I start using it in IE6 after while I get message "there
was a problem with Internet Expoloder ..." and exploder crash.
Does anyone know what I'm doing wrong? i th
Actually, my last workaround didn't totally work...What did seem to work was changing the default index to null in updateChoices. This makes it so that nothing is selected by default so enter still submits unless the user actively selects a choice from the selection box.
justinOn 7/27/06, Justin C
I tried passing \n as a token but it doesnt seem to do anything with it. My unelegant workaround for now is to comment out the line in controls.js that looks for return: switch(event.keyCode) { case
Event.KEY_TAB:// case Event.KEY_RETURN: this.selectEntry(); Event
Have you tried changing the autocomplete tokens? I imagine trapping or not trapping the '\n' (newline character ) would control this behavior.Before- tokens: new Array(' ',',','\n')After- tokens: new Array(' ',',')
On 7/26/06, Justin Chen <[EMAIL PROTECTED]> wrote:
Is there an option to prevent t
Is there an option to prevent the 'return' key from autocompleting? On my application I like having the autocomplete show possible matches for users, but I dont want to force them to use a partial match. Example:
1) User wants to enter "sock" into the textbox2) Autocomplete finds a term "sockpuppe
Hi allI have Firefox with Firebug running and i am using an Autocompleter. While tracing AJAX calls i saw that the Autocompleter always calls the URL two times at once.. Is this the correct behaviour because i dont see the point in calling the URL two times.
PS: no i am not typing slow or something
2 things to try...
1) You could try using the document.onkeydown event to capture all enter
keystrokes and submit the form before the autocompleter calls
updateElement.
2) Try providing an updateElement function to the autocompleter which
checks if the keystroke was an enter and either submits or
How do you make the autocompleter come up without a suggestion?
The mouse thing is also important, but that's half the battle.
Thanks, Scott
On 7/6/06, Jeremy Kitchen <[EMAIL PROTECTED]> wrote:
On Thursday 29 June 2006 01:06, Scott Fortmann-Roe wrote:
> Hi,
>
> I have an ajax auto completer fo
On Thursday 29 June 2006 01:06, Scott Fortmann-Roe wrote:
> Hi,
>
> I have an ajax auto completer for a text field in a form. All's good.
>
> Unfortunately, I also want the form to be submitted when the user hits
> 'return' in the text field.
>
> This combination of circumstances means that if the
Hi,
I have an ajax auto completer for a text field in a form. All's good.
Unfortunately, I also want the form to be submitted when the user hits
'return' in the text field.
This combination of circumstances means that if the user is typing his
entry and then hits return to submit it is possible
Hello,
I have created a ticket for an enhancement of the autocompleter to show the
options immediately when the field gets focus. Right now at least one
character must be typed for autocomplete to kick in.
http://dev.rubyonrails.org/ticket/5435
I have also made some code changes directly in
Perfect, thank you.
Sam
> Date: Wed, 24 May 2006 11:29:16 +0200
> From: "Danial Tzadeh" <[EMAIL PROTECTED]>
> Subject: Re: [Rails-spinoffs] autocompleter competing with saved form
> data in firefox
> To: rails-spinoffs@lists.rubyonrails.org
> Message-ID:
You can do it by:
wrote:
Hi all,
I have used the sciptaculous Ajax autocompleter a few times now. A major
problem I have at the moment is with a text field that has focus when a page
loads. The text field has an autocompleter associated with it, but when the
user starts typing, the firefox
Title: autocompleter competing with saved form data in firefox
Hi all,
I have used the sciptaculous Ajax autocompleter a few times now. A major problem I have at the moment is with a text field that has focus when a page loads. The text field has an autocompleter associated with it, but wh
;t need that line there for
FF viewers.
What do you think?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeoff
Wilks
Sent: Tuesday, May 23, 2006 10:57 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] Autocompleter - up arrow moves c
e="off" attribute is specified.
Can you confirm?
Daniel Elmore
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeoff
Wilks
Sent: Tuesday, May 23, 2006 9:43 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] Autocompleter - up ar
keyup event.
>
> As for FF, I haven't found any solution. Let me know if you find one.
>
>
> -Daniel Elmore
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeoff
> Wilks
> Sent: Tuesday, May 23, 2006 9:15 AM
:[EMAIL PROTECTED] On Behalf Of Jeoff Wilks
Sent: Tuesday, May 23, 2006 10:43 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject:Re: [Rails-spinoffs] Autocompleter - up arrow moves cursor to
startofinput box
Thanks for the quick response.
> Go into any input box and press the up
ge-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeoff
Wilks
Sent: Tuesday, May 23, 2006 9:15 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] Autocompleter - up arrow moves cursor to start
ofinput box
When using the autocompleter and scrolling through options,
x27;t found any solution. Let me know if you find one.
-Daniel Elmore
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeoff
Wilks
Sent: Tuesday, May 23, 2006 9:15 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] Autocompleter - up arr
When using the autocompleter and scrolling through options, if you
press the up arrow key the input field cursor moves backward. Some of
my users have reported that they find this very distracting. Does
anyone know why this happens, or where in the code I could fix it?
Steps to recreate:
1. Go to
Under heavy server load, my autocompleter was doing something strange. The
ajax requests were coming back out of order. For example in a contact name
search if I typed: dan
I would get responses like so:
Result set for: d
Result set for: dan
Result set for: da
So once the typing stopped I would b
ubject: Re: [Rails-spinoffs] Autocompleter
>
> Arrg solved
>
> Safari supports setSelectionRange()
>
> field.select();
> field.setSelectionRange(field.value.length, field.value.length);
> field.focus();
>
>
> thanks anyway :)
>
>
>
>
Arrg solved
Safari supports setSelectionRange()
field.select();
field.setSelectionRange(field.value.length, field.value.length);
field.focus();
thanks anyway :)
On Tue, 2006-04-11 at 22:54 +0100, Claudio Gamboa wrote:
> Hi
>
> Anyone of Safari guru know how can I put the cursor i
Hi
Anyone of Safari guru know how can I put the cursor in the end of the
textbox/line in an Autocompleter when I use tokens options?
Ok, ok this is not a sacriptaculous problem, its JavaScript.
Regards.
___
Rails-spinoffs mailing list
Rails-spinoff
What is the best way to show that Autocompleter is searching for the
dropdown list. It is taking several seconds to load the list
deco
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/r
Title: RE: [Rails-spinoffs] Autocompleter that auto scrolls through results..
I think this is what you are
looking for:
http://dev.rubyonrails.org/ticket/3516
Thank
you,Mandy.
___
Rails-spinoffs mailing list
Rails-spinoffs
> the scriptaculous autocompleter already does this.
I don't think so ? What I mean is if the user moves through the results
using the arrows keys and the results div is bigger than the screen height,
then trigger scrolling on the results div itself ?
On Monday 13 March 2006 08:14, SPENDLOVE, Matt, FM wrote:
> Hi All
>
> Before I investigate further, has anyone implemented an Autocompleter that
> will auto scroll down / up the results div as the user moves down through
> the list (using arrow keys) ?
the scriptaculous autocompleter already does
Hi All
Before I investigate further, has anyone implemented an Autocompleter that
will auto scroll down / up the results div as the user moves down through
the list (using arrow keys) ?
Any pointers / thoughts appreciated.
Best
Matt
n Behalf Of Nicolas
Sent: Thursday, February 16, 2006 11:31 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] Autocompleter question
Hi,
You can play with which will be displayed, but not
selected and which won't be displayed, but
selected.
You can do pretty much everything
Hi,You can play with which will be displayed, but not selected and which won't be displayed, but selected.You can do pretty much everything with that, so you won't need to moidfy autocompleter code.
Reagrds,NicoOn 2/16/06, Joseph Potenza <[EMAIL PROTECTED]> wrote:
Hey
all,
When using t
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 databa
On 2/9/06, Ed C. <[EMAIL PROTECTED]> wrote:
> No, that's what the $F() does ;)
Sorry! I read that as just $('username'). I wasn't paying attention
(note to self: don't catch up on e-mail while eating dinner).
Todd
___
Rails-spinoffs mailing list
Rails
No, that's what the $F() does ;)
I hacked Controls.js @ Line 330:
//__dyp = this
.options.dynamParams;if(__dyp) {
this.options.parameters += '&' +
encodeURIComponent(__dyp) + '=' + encodeURIComponent($F(__dyp));}
//
On 2/9/06, Ed C. <[EMAIL PROTECTED]> wrote:
> (I tried adding "parameters: $F('username')" to the Autocompleter's options,
> but, that grabs the initial username value (which is blank), not the current
> value.)
Does Form.Element.getValue('username') work any better?
Todd
Hi list,
First, I have a textbox "username". I also have an Autocompleter'd textbox called "products".
Is there a "built in" way to have the Autocompleter's Ajax Request pass the value in the "username" field ?
(I tried adding "parameters: $F('username')" to the Autocompleter's options, but,
@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] Autocompleter with a scroll bar
I did with an Autocompleter.Local, just put it in the css on the div to
scroll.
style="overflow: scroll;"
Greg
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:rails-spinoffs-
> [
Ooo, got it. Just use "overflow: auto;"
Daniel
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gregory Hill
Sent: Monday, January 02, 2006 4:21 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] Autocompleter with a scr
egory Hill
Sent: Monday, January 02, 2006 4:21 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] Autocompleter with a scroll bar
I did with an Autocompleter.Local, just put it in the css on the div to
scroll.
style="overflow: scroll;"
Greg
> -Original Mess
06 3:14 PM
> To: rails-spinoffs@lists.rubyonrails.org
> Subject: [Rails-spinoffs] Autocompleter with a scroll bar
>
> Has anyone been able to make scrollable results for an autocompleter?
>
> Thanks!
>
> ___
> Rails-spinoffs ma
Has anyone been able to make scrollable results for an autocompleter?
Thanks!
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Yes that did it! Thanks for your time _Rob_ :)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Wills
Sent: Thursday, December 08, 2005 12:45 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] AutoCompleter afterUpdateElement
On 08/12/2005, at 5:26 PM, Daniel Elmore wrote:
Thank you Ron, that helps a lot!
Rob :)
However I am experiencing a problem.
I am getting a JS error "element is not defined". Also the
afterupdateelement is running directly when the page loads, maybe
that's
the cause of the problem.
ne
L PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Wills
Sent: Thursday, December 08, 2005 12:03 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] AutoCompleter afterUpdateElement
On 08/12/2005, at 4:38 PM, Daniel Elmore wrote:
> Any ideas how I can submit
On 08/12/2005, at 4:38 PM, Daniel Elmore wrote:
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.
It is... and it's in the documentation (although it's not obvious how
to achieve it)
Use an `afterUpda
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
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mail
Hello,
I have a problem with the AutoCompleter, specifically the div that holds
the return values. It doesn't get hidden until the page has correctly
loaded, so in a page that makes cross-server JS calls the div is
visible, and covers content, while the page is loading fully.
I managed to circumv
54 matches
Mail list logo