Display mathjax output in realtime
I suspect you are using Internet Explorer, which doesn't fire onchange
events as often or efficiently as other browsers.
The version in the MathJax Examples includes more code to handle IE better. You might want to look at the source code there for details.
Instead of using onchange
try onkeypress
or onkeyup
.
onchange
is only triggered when you leave the field, but the others (obviously) happen with each key-stroke.