-
-
Save anonymous/0dee476d61c9d0155b67 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dragStop: function(node, data) { | |
var neworder=new Array(); | |
var i=0; | |
var all_drop_data = node.getParent(); | |
all_drop_data.visit(function(all_drop_data){ | |
neworder[i]=all_drop_data.key; | |
i++; | |
}); | |
console.log(neworder); | |
$.ajax({ | |
url:"update_tree_order.php", | |
type:"POST", | |
data:"data = "+neworder + "&name=bhavin", | |
success:function(result){ | |
} | |
});//ajax end | |
} | |
},//DND END | |
activate: function(event, data) { | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment