Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 646149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:34:49+00:00 2026-05-13T21:34:49+00:00

I just saw this cool feature of JQuery which is JQuery Portlet http://jqueryui.com/demos/sortable/portlets.html I

  • 0

I just saw this cool feature of JQuery which is JQuery Portlet

http://jqueryui.com/demos/sortable/portlets.html

I was just wondering how do i persist this to my database? so that it’s available even for future sessions to all users of my website?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T21:34:49+00:00Added an answer on May 13, 2026 at 9:34 pm

    jQuery’s Portlet widget has a serialize method that would do just that. Read how to use it here: http://jqueryui.com/demos/sortable/#method-serialize

    Serializes the sortable’s item id’s into a form/ajax submittable string. Calling this method produces a hash that can be appended to any url to easily submit a new item order back to the server.

    It works by default by looking at the id of each item in the format ‘setname_number’, and it spits out a hash like "setname[]=number&setname[]=number".

    You can also give in a option hash as second argument to custom define how the function works. The possible options are: ‘key’ (replaces part1[] with whatever you want), ‘attribute’ (test another attribute than ‘id’) and ‘expression’ (use your own regexp).

    If serialize returns an empty string, make sure the id attributes include an underscore. They must be in the form: "set_number" For example, a 3 element list with id attributes foo_1, foo_5, foo_2 will serialize to foo[]=1&foo[]=5&foo[]=2. You can use an underscore, equal sign or hyphen to separate the set and number. For example foo=1 or foo-1 or foo_1 all serialize to foo[]=1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just saw this page : http://www.gdconf.com/expo/exhibitorlist.html It has a cool drop down details
I just saw this browser here: http://www.dietriffic.com/ Now, the green section at the top,
I just saw a demo that had this jquery code to show and hide
I just saw this and think it's cool. console.log(Starting...); $(#my_element) .fadeIn() .delay(3000) .fadeOut(); console.log(Finishing...);
I just saw some site like this: <!doctype html> <head> .. </head> <body> </body>
I was just reading some source code of https://github.com/MugunthKumar/MKNetworkKit , and saw this +(void)
just saw this comment in a what JS lib do you use poll @Xanti
I just saw this question and one of the answers looks really appealing to
I just saw this topic: Datatable vs Dataset but it didn't solve my doubt
I just saw this code while studying the wordpress source code (PHP), You can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.