You are not logged in.
Pages: 1
I'm wondering what the best way is to add an extra event to the form submission of Xinha - I don't really want to add it inside
if ( textarea.form )
{
// onsubmit get the Xinha content and update original textarea.
Xinha.prependDom0Event(
this._textArea.form,
'submit',
function()
{
editor._textArea.value = editor.outwardHtml(editor.getHTML());
editor._textArea.value = Xinha.cleanHTML(editor._textArea.value);
return true;
}
);
...
so wondered if that prendDom0Event could be used to add another function in addition the existing for submission event
David G. Paul
[url]http://www.newearthonline.co.uk[/url]
Offline
Pages: 1