Originally Posted by xelawho
I am wondering about the need for local storage here, which has growing support but not below IE8. Also your interface is a little unintuitive - you can pass the value of the textarea to the iframe onkeyup and do it that way.
Yes, you are absolutely right.
I used onclick purely so that I could control events.
The system is primarily set up as a test bed for the scripting.
My idea was ultimately to use the 'Enter' key, to act on the finalisation of a paragraph: Type a paragraph - have a look (how did it turn out) continue, or have another go.
Onkeyup may be more akin to the google translate page, where characters are sent individually, building a paragraph that is ultimately translated.
But either way, the thinking was that, the final processes would inform the final design.
Re your suggested code..... it looks like you have discerned the key commands.
I was working with what was auto-available (from ignorance of the detail).
This enlightenment, means I need to spend a bit more time understanding what is happening - but at least I know now, where to look.
The log file has proved definitely to be good educational material, even for the uninitiated (who are prepared to go thru each line a couple of times).
Thanks very much for your interest in this project.