I love how easy sortable drag and drop lists are in Scriptaculous, but
I've run into a problem that I can't find a solution to after half an
hour or so of Googling...

I have a class in which a sortable list is created and I would like to
run a method inside the same class when the list is updated. My inital
thought was to try:

Sortable.create("draggablelist", {onUpdate: function()
{ this.updateList(); ... }});

Unfortunately this doesn't work because it's not in the right scope.
Is there any way to get this working?

Thanks a lot,

Adrian.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to