title: How to pass custom Data to jquery Mobile Dialog from initiated Element?
body: <p>I'm having three Link in a page. Each Link having different custom data attribute with different value. Each Link opens same Dialog when clicked.</p>
  
  <pre><code>&lt;a data-custom="My Val1"  href="#myPopup" data-rel="popup" data-transition="slideup" data-position-to="window" data-inline="true"&gt;Link 1&lt;/a&gt;
  
  &lt;a data-custom="My Val2"  href="#myPopup" data-rel="popup" data-transition="slideup" data-position-to="window" data-inline="true"&gt;Link 2&lt;/a&gt;
  
  &lt;a data-custom="My Val3"  href="#myPopup" data-rel="popup" data-transition="slideup" data-position-to="window" data-inline="true"&gt;Link 3&lt;/a&gt;
  
  &lt;div data-role="popup" id="myPopup" class="ui-content"&gt;
    &lt;!-- Custom data --&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to have custom data value available to Dialog from the Link which was clicked.</p>