I have a page with a simple sortable UL, with the id attribute
"lister". I'm using the following code:

document.observe("dom:loaded", function() {
        Sortable.create('lister',{tag:'li', onUpdate:updateTeamList});
});

However, when the page is loaded, IE7 gives me the following errors:

A Runtime Error has occurred. Do you wish to Debug?
Line: 259
Error: 'updateTeamList' is undefined

The updateTeamList is a function in a .js file that is used by this
page. Other functions from the same file work, and on Firefox,
everything works with absolutely no glitches. Just FYI, this is the
function in question:

function updateTeamList() {
        args = Sortable.serialize('lister');
        Sortable.destroy('lister');
        loadXMLDoc('ajax/team_list_update.php', args);
}

I've been googling left and right but haven't found any instances of
this occurring to anyone else. Does anyone have a clue what might be
happening here?

--~--~---------~--~----~------------~-------~--~----~
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