save directly (filteredHTML) instead of open first
How to save directly the string filteredHTML instead of open html first?
Javascript coding: (tbContentElement is a object in wysiwyg editor)
filteredHTML = tbContentElement.FilterSourceCode (tbContentElement.DOM.body.innerHTML);
tbContentElement.document.write(filteredHTML);
document.execCommand('saveas', false, "html");
All kind of help will be highly appreciated. Thank you a million.
|