title: How to get a modal to show information from a backbone view?
body: <p>I'm creating views via backbone, and I'm wondering how to get a modal to show all the elements of the backbone view. For instance, if I have a handlebars template associated with the backbone view like this</p>
  
  <pre><code>        &lt;script id="eventTemplate" type="text/x-handlebars"&gt;
          &lt;div&gt;&lt;h1&gt;{{description}}&lt;/h1&gt;
              &lt;div (pseudocode display:none)&gt;
                       {{title}} {{attendees}} 
              &lt;/div&gt;
  
          &lt;/script&gt;
  </code></pre>
  
  <p>And I have jquery code that when you click an event item opens the modal for that event</p>
  
  <pre><code>$("document").ready(function(){
              $(".event").click(function(){
                  $('#myModal').modal('toggle')
              });
  </code></pre>
  
  <p>that opens this modal (pseudocode modal)</p>
  
  <pre><code>       #myModal 
                 &lt;div modal header&gt;
                        &lt;div modal body&gt;
                            &lt;p id="title"&gt;
                            &lt;p id="description&gt;
  ...
  </code></pre>
  
  <p>So I've tried giving different divs in the modal different ids, and using jquery I'd write the html under the ids with my eventTemplate properties. However, I can't figure out how to grab all the properties like "title" and "attendees" from my eventTemplate.</p>
  
  <p>Any ideas?</p>