|  | | obout.com |
 | | Recycle Bin :) |
|
|
Create a button that will move the nodes:
<input type="button" ID="Button1" value="Move to Recycle Bin"
onclick="ob_t2_Move('id_recycle', tree_selected_id)" />
Here, id_recycle is the id of the Recycle Bin node, and tree_selected_id
is the id of the selected node from the tree.
We used the ob_t2_Move function. This function takes 2 arguments:
- the id of the destination node - first argument of the function
- the id of the node to be moved - the second argument
|