Support » Fixing WordPress » Save Drag and Drop order – jQuery

  • greguh

    (@greguh)


    Hi,

    I am trying to implement a drag&drop and SAVE feature on my site.

    I’m very new at Js and jQuery, and so my first issue was to succeed to run my js code into wordpress.
    For that I use the “TC-custom-javascript” plugin”; and I changed all “$” into “jQuery” (and load the proper jQuery Librairy).
    You can see the results on the Fiddle below, and an example page from “my site”.

    >> https://jsfiddle.net/szan6shz/4/
    >> http://sourcink-center.com/39-2/

    So the drag and drop is working properly; but then I can’t figure out how to save the position / the order (when user reload the page for instance)? I’ve tried using ‘serialize’ but without success…

    Any help on how to save this particular drag and drop would be really appreciated.

    Thanks a lot!!
    Greg

  • The topic ‘Save Drag and Drop order – jQuery’ is closed to new replies.