Displaying 1 result from an estimated 1 matches for "steps_list".
2006 Feb 23
5
sortable_list added to by AJAX question
...a post on
scriptaculous using behaviour.js to refresh the DOM when an item is
added, but I can''t figure out how to do it with Rails.
To test the behaviour method, I used this:
var myrules={
''div#steps ul'' : function(element) {
Sortable.create(''steps_list'', {handle:''handle'',
onUpdate:function(){new Ajax.Request(''/goals/sort/4'',
{asynchronous:true, evalScripts:true, onComplete:function(request){new
Effect.Highlight(''steps_list'',{});},
parameters:Sortable.serialize(''steps_list...