Ok I think I have come up with a better solution, on the way home in the 
traffic jam, it seems simple so I think it will work.

Basically to store a snapshot of the select list in an array element each time 
before an action is made.  For instance user clicks add new element to select 
list, function add is called, a snapshot of the current data is appended to end 
of an array then the add funciton is run.  Clicking undo just clears the select 
list and then re-populates with the last array element data then removes it 
from the array.

I guess this is the standard way to do an undo, take a snapshot of the state of 
the element to be undone, I am thinking an image undo might work like this 
though I don't know.

Anyone see any flaws in my idea?  Thanks for reading.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271965
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to