similar to: RE: Leak in the Autocompleter, with scrollable result-div ?

Displaying 20 results from an estimated 3000 matches similar to: "RE: Leak in the Autocompleter, with scrollable result-div ?"

2006 May 01
0
RE: Leak in the Autocompleter, with scrollable result-div ?
Tommy, Every time the Autocomplete results is blur()'d, it adds another onblur event observer (because of "Event.observe(this.update, "blur", this.onBlur.bindAsEventListener(this),true); // make sure blur is still around on") which leads to a performance problem / memory leak. (Commenting it out seems to fix this problem.) I was wondering why it was there? Thanks again,
2006 Apr 20
1
The Autocompleter, with scrollable result-div
Hi everyone If you''ve seen this ticket, http://dev.rubyonrails.org/ticket/4782, you''ve noticed I have tried to make scrollable autocompleter work. The scrollIntoView works great, however the iframefix for IE didnt work in the previous change. This is fixed now. Also the "blur-on-scrollbar-click" should not work in both IE and Safari (can someone confirm this?) It all
2006 Jun 19
2
Autocompleter enhancement feature request
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 the script Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
2006 Sep 01
0
Scrollable autocomplete div in IE -- works in 1.6.2?
Hello all, I noticed that script.aculo.us 1.6.2 supports scrollable divs, and the comments in trac on the http://dev.rubyonrails.org/ticket/4782 patch seem to indicate that this should work in IE. I''ve still running into the problem though -- clicking on the scrollbar in IE is treated as a click outside the autocomplete div. Has anyone had any success with this? jon
2005 Oct 10
3
Scrollable DIV causes flicker in FF - SlideDown & SlideUp
I have a fixed height scrollable div inside another div that controls the slideDown and slideUp effects. This causes a really bad flicker in Firefox (1.0.7) for the entire duration of the slide down and up. While on the other hand it works smoothly in IE (except that on a slideUp it causes a last second flash that shows the entire div). Any ideas on how I can fix this? Thanks.
2006 Mar 16
3
This is driving me crazy!!!
I have the following code but it keeps on giving me this error when it runs. --- Error: this.alertBox has no properties What would be causing this? My Code checks out when I call this.alertBox() from the setup function it works fine but when I try and put in on an event observer it doesn''t work. What do you guys think? Thanks, Jon Code Here: var Updater =
2007 Sep 02
1
Scriptaculous - Sortables problem within a scrollable div
Hello everyone: I''ve been using scriptaculous for very long time and it''s really good. However, I just came across another problem about using sortables in a scrollable div. The basic structure is: <div style="overflow:auto; height=400px"> <div id=''Item1''></div> <div id=''Item2''></div> ....
2006 Jan 02
4
Autocompleter with a scroll bar
Has anyone been able to make scrollable results for an autocompleter? Thanks!
2006 Feb 13
2
[PATCH] Allow generic autocompleter (Ajax.Watcher)
Hey. Below is a patch to allow generic Ajax.Autocompleters. Basically it''s for people who wanna be able to watch an input for changes, but don''t want it to pop up an autocompleter box below. Useful for live previews, that kind of thing. Someone''s gonna have to fix the tabstops. I couldn''t be arse to work out how to make vim do the softtabs properly. Spaces for
2007 Jan 17
0
Triggering Autocompleter by button
Hi! I got a Autocompleter on my page and its working fine. For mouse-users I need a button which triggers the Autocomplete. I tried a this.getUpdatedChoices(); and it starts a request, but it doesn''t seem to handle the response. ---------------------------------------------- Ajax.TriggerableAutocompleter = Class.create();
2006 Mar 02
2
Ajax.Autocompleter with an empty field
Hey guys, I have a field that will have very few autocomplete options. I have an ajax.autocompleter on it that works great, but I wanted to make it start autocompleting as soon as the field is blur()ed, so that even if the field is empty, the list will still appear. Like a combo box in windows. How can I do this? Setting :min_chars => 0 (or even -1) didn''t work... -Josh
2007 Jul 16
4
Problem with keypress event handling
Hi all, we are writing a cross browser Javascript control that enhances the HTML text input element in order to accept only digits (more or less). Supposing that ''domText'' is the DOM element corresponding to the HTML text input, we wrote the following: Event.observe(domText, "keypress", this.onKeyPress.bindAsEventListener(this)); where this.onKeyPress =
2007 Oct 08
1
onblur to work with select
I need a method to be called upon an ''onblur'' event when a select list is no longer the focus - ideally, I would like it to work when the ''Enter'' key is hit. But, I am just trying to get the onblur to work, here is what I got: <%= select( "airlinemembership", "membership", Airline.find( :all, :order =>
2006 Feb 09
3
Autocompleter Request depends on other field
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, that grabs the initial username
2005 Sep 22
4
Autocompleter: displaying resuts-div on focus
Hi, In the last two days I posted 4 different questions to this forums, but no single answer... Is it personal ? ;-) Anywayz I continue trying, so maybe I have luck this time... The question: in an autocomplete component, is it possible to make the results-div apear when the text field is getting focus? Thanx in advance, Ron
2005 Dec 01
0
AutoCompleter message div not hiding
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 circumvent this problem in Mozilla by specifying the visibility of the div in a CSS document to
2006 Feb 07
3
in place edit, save on blur
I thought I''d seen some discussion on this, but can''t find it. I have a text area that I''d like to save on blur unless the user clicks cancel. Anyone got a nice example of this? It''s non-obvious to me how I force the submit via javascript. Thanks, pt. -- Parker Thompson http://www.parkert.com/ 510.541.0125
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 Nov 30
12
Disable autocomplete (Ajax.Autocompleter) on the fly.
I''m sure there is an easy way to do this, but it is one of those things that is incredibly difficult to search for. How can I disable an ''Ajax.Autocompleter'' element from working ''on the fly''? I have a page where I''m using two (I know it''s crazy) Ajax.Autocompleter elements and once one of them has got a result I want the other field
2006 Apr 06
4
problem with IE
hello there, im having a little problem with Internet Exploiter, im doing this: //// CODE //// var m = $(''XYZ'').cloneNode(false) m.setAttribute(''id'', ''XYZ_2''); m.value = ''''; var onblur = "alert(''hola'');"; m.setAttribute(''onblur'', onblur);