ctoz - 8:05 pm on Mar 21, 2011 (gmt 0)
One small problem still.
I'm testing by clicking on a link:
<a href="#" onclick="doPage();")>readout test</a>.
So far, the link *never* works on the first click.
Second time, it sometimes shows an incomplete display, but mostly works correctly.
Third time, it always works.
It doesn't seem to be a loading problem. I've tried loading the script first (it's an AJAX load), and doing a setTimeout on loading the content it acts on; also tried incorporating the script into my main script file, not AJAXing it.
I don't fully understand 'initialisation', but could that be the problem?