title: oncontextmenu not working when append rows in HTML table
body: <p>i am fetching 70 records from database and loading it in html table and when user scroll down from 1 to 70th record, on scroll event call and next 70 fetched e.g <strong>limit 70, 140</strong> record fetched and append to already displayed records.
  so that i also using right click or oncontextmenu function in all rows by adding a class.
  when user right click in any data row of table on('contextmenu',function(){}); event called in first 70 records that fetched by default but not called on  next 70 records which comes after scroll and appended with first 70 records.
  please help me to solve this why on contextmenu event not called up??
  my code is.</p>
  
  <p>//first 70 records comes as by default and display in table rows as</p>
  
  <pre><code>echo '&lt;tr class="mute_ref_link_cls" id="' . $mm-&gt;msn . '_' . str_replace(array('_dup', '-dup'), '', $mm-&gt;name) . '_' . $mm-&gt;customer_id . '"  onClick="mute_ctrl_fn(' . $mm-&gt;customer_id . ');openSubDiv(' . $mm-&gt;cid . ',' . $mm-&gt;customer_id . ',\'' . $mm-&gt;f_id . '\',\'' . $mm-&gt;msn . '\',\'info\',\'' . str_replace(array('_dup', '-dup'), '', $mm-&gt;name) . '\');"&gt;';
  echo '&lt;td class="muteClr with-tip" id="' . $mm-&gt;customer_id . '" title="' . $res . '"&gt;&lt;a style="color:red" onClick=""&gt;' . str_replace('-dup', '', str_replace('_dup', '', $mm-&gt;name)) . '&lt;/a&gt;&lt;/td&gt;';
  echo '&lt;td&gt;';
  echo ($mm-&gt;session_date_time &gt; 0) ? date('d-M-Y H:i', strtotime($mm-&gt;session_date_time)) : 'N/A';
  echo '&lt;/td&gt;';
  echo '&lt;/tr&gt;';
  </code></pre>
  
  <p>**After scroll next 70 records fetched and append at the end of 70th record as</p>
  
  <pre><code>echo '&lt;tr class="mute_ref_link_cls" id="'.$mm-&gt;msn.'_'.str_replace(array('_dup','-dup'), '', $mm-&gt;name).'_'.$mm-&gt;customer_id.'"  onClick="mute_ctrl_fn('.$mm-&gt;customer_id.');openSubDiv('.$mm-&gt;cid.','.$mm-&gt;customer_id.',\''.$mm-&gt;f_id.'\',\''.$mm-&gt;msn.'\',\'info\',\''.str_replace(array('_dup','-dup'), '', $mm-&gt;name).'\');"&gt;';
          echo '&lt;td class="muteClr with-tip" id="'.$mm-&gt;customer_id.'"  title="'.$res.'"&gt;&lt;a style="color:red" onClick=""&gt;'.str_replace('-dup', '', str_replace('_dup', '', $mm-&gt;name)).'&lt;/a&gt;&lt;/td&gt;';
          echo '&lt;td&gt;';
          echo ($mm-&gt;session_date_time&gt;0)?date('d-M-Y H:i',  strtotime($mm-&gt;session_date_time)):'N/A';
          echo '&lt;/td&gt;';
          echo '&lt;/tr&gt;';
  </code></pre>
  
  <p>My jquery code when right click on any first 70 record:</p>
  
  <pre><code>$('.mute_ref_link_cls').on('contextMenu', function (event, list)
  {
      $(this).trigger('click');
      var str = this.id;
      //getting msn and reference number as id on right click :: Ahmad Fraz
      var dtz = str.split("_");
      list.push({text: 'Add Reason', link: 'javascript:matchMMPinCodeForm(' + dtz[0] + ',' + dtz[1] + ',' + dtz[2] + ')', icon: 'blog'});
      list.push({text: 'Cancel', link: 'javascript:pending(' + dtz[0] + ',' + dtz[1] + ',' + dtz[2] + ',\'nf503698\')', icon: 'delete'});
  });
  </code></pre>