function scriptForm_onsubmit() {
// retrieve the document in the editor and store it in the form field "HTMLText"
document.SubmitContent.HTMLText.value = eop.getHTMLData();
// retrieve the style sheet used by the editor and store it in the form field "CSSText"
document.SubmitContent.CSSText.value = eop.getStyleSheet();
// Submit the form with the fields "HTMLText" and "CSSText"
document.SubmitContent.submit();
}
|