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(); }
});
精彩评论