title: How can I respond to a right-click in an HTML table "cell" (td) in a Meteor project?
body: <p>Assuming the following:</p>
  
  <p>I have an HTML page that loads a template.
  The template name is <code>scheduleTable</code>.
  The template desrcribes an HTMLTable, with (of course) various <code>tr</code>s and <code>td</code>s, with a particular <code>td</code> that uses a CSS class named <code>"tddetails1"</code></p>
  
  <p>If I want to respond with JavaScript to a right-click on that <code>"tddetails1"</code> element, I would think I would need code something like this in the js file:</p>
  
  <pre><code>Template.scheduleTable.events({
      "right-click .tddetails1": function (event) {
      // do something 
    });
  </code></pre>
  
  <p>But what event can I use? There is no "right-click" event, and I don't want to capture "regular" (left) clicks. Am I doomed to use an html button in each <code>td</code>, and respond to their click events?</p>
  
  <h2>UPDATE</h2>
  
  <p>Yes, Christian's answer was "spot on"; this works:</p>
  
  <h2>HTML</h2>
  
  <pre><code>&lt;template name="tblExpenseDescription"&gt;
  &lt;table width="75%" border="1"&gt;
      &lt;tr&gt;
          &lt;td width="200px"&gt;&lt;strong&gt;Description of Expense&lt;/strong&gt;&lt;/td&gt;
          &lt;td class="rc1" &gt;Date 1: &lt;input type="date" id="date1" name="date1"/&gt;            
          &lt;/td&gt;
          . . .
  </code></pre>
  
  <h2>JavaScript</h2>
  
  <pre><code>if (Meteor.isClient) {
  
    Template.tblExpenseDescription.events({
      "mousedown .rc1": function (event) {
             if (event.button == 2) {
                 console.log('date1 was right-clicked');
             }
        }
    });
  }
  </code></pre>