title: Passing parameters via onclick to HandlebarsJS partial
body: <p>I have a few <code>&lt;div&gt;</code> tags that trigger a modal. The modal is a partial included on the page. I want to change the text inside the modal depending on the <code>&lt;div&gt;</code> that was clicked. I can't figure out how to pass a variable to the partial when the <code>&lt;div&gt;</code> is clicked. Any ideas?</p>
  
  <pre><code>&lt;div data-open="config"&gt;
      &lt;a href=""&gt;link 1&lt;/a&gt;
  &lt;/div&gt;
  &lt;div data-open="config"&gt;
      &lt;a href=""&gt;link 2&lt;/a&gt;
  &lt;/div&gt;
  {{&gt; My_modal}}
  </code></pre>