title: How to use MAthjax with ajax
body: <p>Good morning,  how can render div with mathjax after ajax data is inserted into it? I have read some posts but could not find :(. It is working only one time. second and third time not working.  I have tried also to put </p>
  
  <pre><code>   MathJax.Hub.Queue(["Typeset",MathJax.Hub, "test"]);
  </code></pre>
  
  <p>after and before ajax insertion. </p>
  
  <pre><code>$this-&gt;widget('bootstrap.widgets.TbButton', array(
  'htmlOptions'   =&gt; array('id'=&gt; 'start'),
  'buttonType'=&gt;'ajaxButton',
  'type'=&gt;'primary',
  'label'=&gt;'Start',
  'url'=&gt;CController::createUrl('site/next'),
  'ajaxOptions'=&gt;array(
      'type'=&gt;'post',
      'data'=&gt;array('row'=&gt;$row),
      'success'=&gt;'function(data){
             $("#test").html(data);
                  MathJax.Hub.Queue(["Typeset",MathJax.Hub, "test"]);             
      }'  )
  </code></pre>
  
  <p>));</p>