Displaying 1 result from an estimated 1 matches for "sortable_onchang".
Did you mean:
sortable_onchange
2005 Jun 28
1
Thomas script.aculo.us (important bug and add ons)
...se
handle: false, // or a CSS class
only: false,
hoverclass: null,
onChange: function() {},
onUpdate: function() {}
}.extend(arguments[1] || {});
$(element).sortable_tag = options.tag; // convenience for
serializing
$(element).sortable_onChange = options.onChange;
Element.cleanWhitespace(element); // fixes Gecko engine
Draggables.addObserver(new SortableObserver(element, options.onUpdate));
----
In the class above, you create a function called onChange() which is a
javascript function. Then you create a reference to onchange fr...