/    Sign up×
Community /Pin to ProfileBookmark

AJAX won’t update, what could be wrong? (Example moved from site-site)

Basically on this example

[url]http://davidwalsh.name/dw-content/drag-drop-sort-save-jquery.php[/url]

There is a list with some items and you can decide whether or not you want them to update on the fly or via a “save” button. On that particular site when I re-arrange the order and refresh the page the items are in the order I placed them in (GOOD!) not the default order.

I copy the code, use jquery’s connectSortable to create two new lists. I wanted to be able to move items between seperate lists basically.

So here is my example

[url]http://scottsteelerectors.com/drag-drop-sort-save-jquery.php[/url]

I can move the items between the lists fine and it says it updated (but it did not!)

I refresh the page and the items are back to their original order ?.

What could be wrong on my servers end? Or the code changes I made?

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @Sodascript spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...