You are not logged in.
I have an AJAX spell checker which embeds a lot of span tags. The spell checker does have a function to remove these tags, but there is a timing issue.
If I click on a submit button, then Xinha puts its contents back into the textarea ready to be sent to the server (maybe onBlur?)
However the spell checker's cleanup code does not run until after Xinha has placed its content. The cleanup runs on Xinha's iframe, cleans it up, but because the content has already been transferred the cleaned up text does not get sent.
So, is there a way to force Xinha to replace the textarea text on demand?
That way I could run the cleanup code, then have Xinha place the text into the textarea, which will then be sent back to the server.
Offline
Ok, so:
document.formID.textareaID.value = editors['textareaID'].getEditorContent();
should work?
I tried the above code, but it dies. I can retrieve the document.formID.textareaID.value into an alert, but the code does not run past the statement.
Offline