jQuery 1.4.2 element serialize not working

jQuery 1.4.2 element serialize not working

Hello,

recently I've updated jQuery from 1.3.2 to 1.4.2 and the serialize of elements where the user can set the order just stopped working.
As I googled this, I found out, that the serialization was changed in 1.4.2, but I couldn't find any example that shows how to serialize in 1.4.2 and sen the data to php where the order is saved.

Here's my code that worked perfectly in 1.3.2:
  1. $("#list").sortable({
    axis: 'y',
    handle : '.handle',
    update : function () {
    var order = $('#list').sortable('serialize');
    $("#info").load("path/to/php/file.php?"+order);
    }
    });
In jQuery documentation I found out, that you can set it back to the traditional serialization, but where can I set that.
How can I get this code to work again normally?

Thanks in advance,
X.










    • Topic Participants

    • info