开发者

Update SQL row on mouse drag

I have a php page which displays 3 columns from 3 different sql q开发者_如何学Pythonueries. I am planning to apply drag and drop so that when I drag an item from one of the columns and drop it to the 2nd column it will change and update the sql entry to match that of the 2nd column results.

I have seen jquery draggable but am a noobie. can anyone show me how to do this?


$("#draggable").draggable();
$("#droppable").droppable({
  drop: function() { update_sql(); }
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜