Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm developing an online exam application.The questions contain just text or equations or both text and equations. The equations are displayed using Mathjax.There is a timer on the page. I want to start the timer only when the Mathjax equations are loaded completely.If the question doesn't contains any equation then the timer has to be started without waiting for Mathjax.How can this be done? The application is developed in PHP.

share|improve this question

closed as off topic by Andrey Vihrov, egreg, qubyte, Loop Space, diabonas Mar 6 '12 at 10:56

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
This is not really a (La)TeX question: it's about web programming. As such, I'm afraid it looks off-topic for us, and possibly more suited to the StackOverflow main site. –  Joseph Wright Mar 6 '12 at 10:32
    
Sorry.I'll post in StackOverflow. –  LS Developer Mar 6 '12 at 10:35
    
See mathjax.org/docs/2.0/signals.html –  qubyte Mar 6 '12 at 10:44
    
Push your action onto the MathJax.Hub command queue. See mathjax.org/docs/2.0/queues.html#the-mathjax-processing-queue –  Davide Cervone Mar 6 '12 at 17:18

Browse other questions tagged or ask your own question.