Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(function($){
- $(".drag").draggable({
- drag: function(){
- id = $(this).attr("id");
- //console.log(id);
- }
- });
- $(".drop").droppable({
- drop: function() {
- status = $(this).attr('id');
- //console.log(status);
- window.location = '{% url postit_change_status %}?id=' + id + '&status=' + status;
- }
- });
- });
- </script>
Add Comment
Please, Sign In to add comment