title: Pass variable from link to div
body: <p>I have a pure css3 modal call by a link, and I wish to pass some variable to the modal.</p>
  
  <p><strong>Modal</strong></p>
  
  <pre><code>    &lt;div id="reasonmodal"&gt;
      &lt;div class="modal-content"&gt;
          &lt;div class="header"&gt;
              Reason
          &lt;/div&gt;
  
          &lt;div class="copy"&gt;
               //content
          &lt;/div&gt;
          &lt;div class="footer"&gt;&lt;a href="?r=Register/UpdateReason&amp;appid="&gt;Close&lt;/a&gt;&lt;/div&gt;
          &lt;br /&gt;  
  
      &lt;/div&gt;
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>    //some other code with foreach appid
      &lt;a href="#reasonmodal"&gt;Click&lt;/a&gt;
  </code></pre>
  
  <p>I want pass foreach appid to the modal, any suggestion to do that ? Thanks</p>