title: How to Get Parent Data Context in Meteor on an Event
body: <p>I'm working on a simple meteor flashcard application. There is a collection of Questions each with: text, right_answer, wrong_answers. </p>
  
  <p>The answers are concatenated into an array and shuffled then the template lays out a question and possible answers. When a user clicks the answer, from the event how do I get the parent data context in the JS. </p>
  
  <p>Something like:</p>
  
  <pre><code>&lt;button type="button" question="{{../_id}}" class="btn btn-default answer"&gt;
  {{this}} {{#with ../this}}{{this._id}}{{/with}}
  &lt;/button&gt;
  </code></pre>
  
  <p>works to show parent question ID in the template, but how do I do this properly. The goal is to have a function that grabs the event and compares the answer to the "right_answer" for equality and gives you a point if it works. Thanks!</p>
  
  <p>Eventually came up with this solution, but I don't really like it or think it is correct:</p>
  
  <pre><code>{{each}}
      {{#with ../this}}
          &lt;button type="button" question="{{../_id}}" class="btn btn-default answer"&gt;X&lt;/span&gt;&lt;/button&gt;     
      {{/with}}
      {{this}}
  {{/each}}
  </code></pre>