title: Jquery auto trigger click event not working
body: <p>I am not able to trigger click event on the second td. When I try console  </p>
  
  <pre><code>console.log($("#jq_quiz_task_container table tbody tr td:nth-child(2)").html());  
  </code></pre>
  
  <p>The below result appears....</p>
  
  <pre><code>&lt;a style="cursor:pointer" onclick="javascript:jq_QuizNextOn(); void(0);"  title="Next" onmouseover="jlms_WStatus('Next');return true;" onmouseout="jlms_WStatus('');return true;" class="btn btn-primary"&gt;&amp;nbsp;Next&amp;nbsp;&amp;nbsp;&lt;/a&gt;
  </code></pre>
  
  <p>How do i trigger the click event for this 'a' inside second TD ?</p>
  
  <p>I have tried the below code in the console</p>
  
  <pre><code>$("#jq_quiz_task_container table tbody tr td:nth-child(2) a").click();
  </code></pre>
  
  <p>But it displays the object in the console</p>
  
  <pre><code>[a.btn.btn-primary]
  </code></pre>
  
  <p>Please find the code as given below.</p>
  
  <pre><code>    &lt;div id="jq_quiz_task_container" class="pull-right" style="float: right;"&gt;
          &lt;table class="jlms_toolbar_buttons" align="right" style="text-align: right; width:auto; " cellpadding="0" cellspacing="0" border="0"&gt;
              &lt;tbody&gt;
                  &lt;tr&gt;
                      &lt;td valign="middle" style="vertical-align:middle"&gt;
                          &lt;a style="cursor:pointer" onclick="javascript:jq_QuizPrev(); void(0);" title="Prev" onmouseover="jlms_WStatus('Prev');return true;" onmouseout="jlms_WStatus('');return true;" class="btn btn-primary"&gt;&amp;nbsp;Prev&amp;nbsp;&amp;nbsp;&lt;/a&gt;
                          &lt;/td&gt;
                          &lt;td valign="middle" style="vertical-align:middle"&gt;
                          &lt;a style="cursor:pointer" onclick="javascript:jq_QuizNextOn(); void(0);" title="Next" onmouseover="jlms_WStatus('Next');return true;" onmouseout="jlms_WStatus('');return true;" class="btn btn-primary"&gt;&amp;nbsp;Next&amp;nbsp;&amp;nbsp;
                          &lt;/a&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/tbody&gt;
          &lt;/table&gt;
       &lt;/div&gt;
  </code></pre>