Click here to Skip to main content
15,894,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I would like to implement undo/redo functionality in my website.

We are having different controls like image, icon, sound etc.

We are dragging these controls in one pellet.

And all those controls are draggable/droppable.

So we want undo/redo functionality for each step which is done on a webpage.

Can any one have ideas how we can implement this using any javascripts or jQuery.
We don't want to store history of all processes in server side as it will take more time to do undo/redo.
Posted

1 solution

These should help you out:
Undo-Redo: Link1[^]
Undo-Redo: Link 2[^]

jQuery PluginL Undo[^]
 
Share this answer
 
Comments
ashish bhakhar 1-Oct-10 2:02am    
Thanks for the answer.
But I already tried these both links. They are providing undo/redo for only inside data of any control like textbox or textarea.
What I need is all controls drop position, for ex: I am having 5 to 6 controls in a page, which are doing different different operations like image upload, icon upload, set background, Sound upload.
So all I need to keep track of drag and drop of each as well as all inner processes track inside each tool.

Let me know if you not getting clear flow!
ashish bhakhar 1-Oct-10 2:07am    
Also about jquery link, they provided only this page regarding undo/redo not any other help is given at all in jquery site. Also I tried using this too before but it take too much time and I was not able to do anything using this plugin.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900