Displaying 20 results from an estimated 30000 matches similar to: "Autocompleter.destroy?"
2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya,
I''ve just released script.aculo.us V1.5_pre1.
Please give it a try!
Important new stuff (since V1.1b1):
* Added a main scriptaculous.js file to load in the other libraries
transparently.
* Fixed a condition where standard a href=xxx links wouldn''t work in
autocomplete results. These do now, the onclick event is not
cancelled. [thx to Jasper Slits]
* Added
2006 Jun 20
0
Ajax.AutoCompleter - how to destroy the class object?
Any ideas how to destroy an instance of the Ajax.Autocompleter class? I
need to kill the object, along with all it''s Draggables and Droppables.
Another alternative, how can I "sense" in javascript, whether there is an
already existing Autompleter object?
2005 Aug 05
4
disable Sortable
Can a Sortable be disabled/deactivated/destroyed once it''s been created?
I''ve tried a few different things with no success.
Here''s what I''m doing:
I have an ordered list. When a particular event happens, I created a
Sortable from the list. I clone the list prior to creating the Sortable so I
can revert to the original list if sorting is canceled. If, however,
2006 Jun 24
0
Sortable with sortables? this.destroy not a function O_o
Hi all
I am creating sortable list with the builder. Now i want these sortables to
be a sortable aswell. So i wrap a div around them and run sortable create on
the main-container.
I have it like so (simplified):
var myLists = new Array(); // start a empty array for push
var mainDiv = ''main''; // some already present div to carry all stuff.
function newList() {
var sortlist
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
I have been trying to write a selector function for Autocompleter.Local that
will show a predefined Array and will scroll automatically to the first
match. I have had success with with getting my list to populate and show
all of the choices, however I cannot get it to scroll to the first match.
Since I build the JS Array I can know exactly how many items are in the list
going into my selector,
2006 May 24
2
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 when the user starts typing, the firefox saved form data
autocompleter appears first, and the scriptaculous one is partially
hidden behind it.
Has anyone else encountered
2006 Aug 23
0
Ajax.Autocompleter method and URIs
Hello,
I''ve looked at a few autocompleters, and really like Script.aculo.us''.
I have two suggestions for making it even better:
1) Make the default HTTP method GET, or at least clearly document how
to change it (through the prototype options). This will make it
possible for the browser as well as intermediaries to cache the
results.
2) Make it easier to control the URIs that
2008 Jan 23
2
Ajax.Autocompleter parameters
I''m trying to pass additional variables to my autocomplete data page.
I used the parameters option but this only sends a static variable
(i.e. I can''t do something like parameters:"param1="+$
(''checkbox1'').checked).
I thought I could fix this by calling a new Ajax.Autocompleter every
time the checkbox was clicked but that just created duplicate
2006 May 25
0
Fwd: [Ruby on Rails] #5181: Autocomplete: How do i format the text in the drop down?
Howdy...
How can the text be formated on the downloadable sample
(\scriptaculous-js-1.6.1\test\functional\ajax_autocompleter2_test.html)?
In your downloadable demo... the format of the drop down (in the txt area)
is a ordered list.. where and how is this formatted? and is it possible
to use a CSS on it? If so.. how would i do that? I like the formatting
you have on your demo
2006 Jun 15
0
Ajax.autocompleter does not narrow down choices
Hello,
I was wondering how to get the Ajax.Autocompleter to behave more like
Autocompleter.Local where it narrows the drop down as you type. The
local autocompleter seems to exhibit this behavior naturally. Am I
missing an argument somewhere?
Joe
_______________________________________________
Rails-spinoffs mailing list
2007 Jun 14
2
A more fancy autocomplete using scriptaculous and ajax
I want to create an autocomplete text field that when you type in
(some
of) a users name, it pops up the portrait image associated to that
user
on the left hand side, which can then be dragged away in to a
Sortable.Droppable element adding that member to your team...
I can get the results to display, but not where I want them. They are
always in a list below the textbox.
1) possible?
2) Do the
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 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,
2005 Aug 05
2
Quick Question on Autocompleter Parameters
Hello,
Is it possible to send the current value of a second form element with
the AJAX request on the Autocompleter? At the moment, I initialise the
Autocompleter on page load, so any parameters passed in the constructor
are given the value set at page load time. I need to obviously pass in
the value of the second form element when the autocompleter is called.
Does this function already exist,
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 Jan 22
1
Dynamic parameter to autocompleter
Hi All
Is there any way to pass a dynamic parameter do AutoCompleter URL?
I want to pass the current text on autocompleter input field plus a
parameter "last", with data from field "last"
When i try to use "parameters" option, they get only first value of
field "last", not dynamicaly.
Thanks.
2006 Apr 06
0
script.aculo.us V1.6.1
V1.6.1 (2006-04-06): Sortable Trees, Prototype 1.5.0_rc0 (fixes IE
mem leaks)!
New features in V1.6.1 and V1.6.0:
* Update to Prototype 1.5.0_rc0
* Sortable trees [thx Sammi Williams, sammi-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org]
See the functional test (test/functional/sortable_tree_test.html)
and the CHANGELOG for more information!
* Add Draggable object as third parameter
2007 Mar 13
0
Ajax.Autocompleter with paging
hi,
i''d like to create an Ajax.Autocompleter with paging...
my basic idea is to use the
afterUpdateElement
to check if the selected item has a attribute telling it to
make a new ajax call...
my problem is, that i have no clue how to trigger the
getUpdatedChoices
of my ajax.autocompleter from within the afterUpdateElement function,
nor how to set an
2006 Oct 20
0
100% CPU after update in Autocompleter field
Hi,
I''m using internet explorer 6.0 and I''ve written a web application that
use script.aculo.us 1.6.4.
When I use the Autocompleter function with tokens "," and an image
indicator the cpu of the pc goes to 100% after some choose of elements
randomly.
The command is:
new Ajax.Autocompleter(''ckeywords'', ''autocomplete_keywords'',
2005 Aug 08
3
AutoCompleter IE6 and SELECT Element Clash
Hello,
I am using the AutoCompleter to great effect. However, the site design I
have been constrained by has <select> elements/drop down boxes below the
AutoCompleter field. This means that in Internet Explorer 6 the drop
down elements appear on top of the floating DIV when rendered in the
browser. Mozilla floats the DIV on top of the select elements as
expected.
Has anyone encountered,