AJAX Script – Similar to WordPress Widgets Arrange

I had built my own CMS and I need to create an AJAX script to arrange elements in the website. I will need one similar to the WordPress one, when you have to arrange the widgets in the siderbar.

Could someone help me with a link to a tutorial or something?

Read More

Thanks

Related posts

Leave a Reply

2 comments

  1. Here is a fiddle with some of the functionality you want: http://jsfiddle.net/maniator/26UNk/

    JS:

    $("#content ul").sortable({
        opacity: 0.6,
        cursor: 'move',
        update: function() {
            var order = $(this).sortable("serialize") + '&action=updateRecordsListings';
            $.post("updateDB.php", order, function(theResponse) {
                //some sort of ajax code
            });
        }
    });