title: twitter bootstrap modal -- how to pass data to callback function
body: <p>is there a way to pass additional data to bootstrap modal function callback?</p>
  
  <p>for example, lets say my link that causes the modal to open has an extra attribute in it with a bit of useful data in it, how could I reference that attr?</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;span listid="80" href="#editTaskList" data-toggle="modal" class="btn btn-mini right"&gt;&lt;i class="icon-edit"&gt;&lt;/i&gt; Edit Task List&lt;/span&gt;
  </code></pre>
  
  <p>JS</p>
  
  <pre><code>$('#editTaskList').on('show', function () {
      // get the source of the click, and then get the data i need.
  });
  </code></pre>