Revert/Reset method on elements?
Hi, I am modifying an image button as the page is used, by removing its onclick attribute, changing its title attribute, etc. Depending on further user actions, I would sometimes need to re-set that button and reinstate all those changed attributes back to how they were when the page was first loaded.
Having modified an element using jQuery, is there a way to reset/revert it back to its original state?
Thanks in advance.
Paul.