0 out of 1 rated this helpful - Rate this topic

Undo Command

Undo the previous command.

Scripting Information

Command Undo
User interface None. Set bUserInterface to false or omit. 
execCommand vValue Optional. Set to null or omit.
Applies to execCommandqueryCommandEnabledqueryCommandIndetermqueryCommandStatequeryCommandSupportedqueryCommandValue.

Remarks

This command applies to the document object. For example, the following button reverses the last action.


<button onclick="document.execCommand('Undo')">UNDO</button> 

Minimum Availability

Internet Explorer 5.0 and later.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Supported
This is supported and has been so atleast from 5.5.