homerUK
05-06-2003, 11:16 PM
hey,
does anyone have any experience with MSHTML commands?
I have been trying to get the "undo" command in a WYSIWYG editor to work using the following code:
function cmdExec(cmd,opt) {
iView.document.execCommand(cmd,"",opt);
}
then calling that function using an undo image for the button like:
onClick="cmdExec('undo')"
but it doesnt seem to work....
any ideas?!!! thanks......
does anyone have any experience with MSHTML commands?
I have been trying to get the "undo" command in a WYSIWYG editor to work using the following code:
function cmdExec(cmd,opt) {
iView.document.execCommand(cmd,"",opt);
}
then calling that function using an undo image for the button like:
onClick="cmdExec('undo')"
but it doesnt seem to work....
any ideas?!!! thanks......