title: Pass Multiple Values to Bootstrap Modal Form
body: <p>I have an html table of 'members' and on each row an 'edit' button.  </p>
  
  <p>The edit button opens a Bootstrap modal with a form.</p>
  
  <p>I would like to pre-fill the form fields, based on the values (name, email, mobile) in the relevant row.  I used code from this answer (not the accepted answer but this function from @ajkochanowicz):</p>
  
  <pre><code>$('.header-link').click(function(e) {
  $('.modal-header h4').html($(e.target).html())
  })
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/17788609/passing-data-to-bootstrap-modals">Passing Data to Bootstrap Modals</a></p>
  
  <p>... but it only allows for a single value to be passed.</p>
  
  <p>how can I pass multiple values to the modal form and inject them into the relevant fields in the modal form?</p>