I can not get the sortable - connectWith to work with the two lists I
have ...

example url

http://portfolio.ingeniouspro.com/admin/

my code

$(function(){

        $('#gallery_landscape').sortable({
                connectWith: '.imageList',
                revert: true,
                stop:function(event, ui) {
                        $.ajax({
                                type: 'GET',
                                url: 'ajax.php',
                                data: 'action=order&' + 
$('#gallery_landscape').sortable
('serialize'),
                                success: function(data){ alert(data); }
                        });
                }

        });

        $('#gallery_drawing').sortable({
                connectWith: '.imageList',
                revert: true,
                stop:function(event, ui) {
                        $.ajax({
                                type: 'GET',
                                url: 'ajax.php',
                                data: 'action=order&' + 
$('#gallery_drawing').sortable
('serialize'),
                                success: function(data){ alert(data); }
                        });
                }

        });

});

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to