Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a simple table, and the jquery works great for sorting. The fields drags an drops perfectly, and updates then and their. Also of course the data in the fields are saved in a array. The data in the fields saves after clicking "save changes" button but NOT the sort order. The sort order returns to its previous state.

example: 1(bb) 2(tom) 3(fred)

TO

1(tom) 2(bb) 3(fred)

then clicks "save changes"

after clicking "save changes" it returns to its previous state which is

1(bb) 2(tom) 3(fred)

the sort order does NOT save only the values. what other function i am suppose to add, to make this work? The jquery works, it does its job of sorting, but for WordPress to understand that it was sorted another way, what do I do?

share|improve this question
1  
please put some code that tell us how are you saving values to WordPress database. –  Ravs Jun 7 '13 at 18:41
    
How are you creating the table? WordPress will automatically track meta box placement. I don't think it tracks anything else. –  s_ha_dum Jun 7 '13 at 19:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.