title: jQuery mobile popup opens in new window
body: <p>I am trying to do a popup in my mobile app. My code is this:</p>
  
  <pre><code>&lt;a id="options" data-role="button" data-icon="gear" data-iconpos="notext" href="#optionsPopup" data-rel="popup" data-inline="true"&gt;&lt;/a&gt;
  
  &lt;div data-role="popup" id="optionsPopup" data-overlay-theme="a" style="padding-top: 40px"&gt;
      &lt;ul data-role="listview" data-inset="true" style="data-theme:a"&gt;
          &lt;li&gt;&lt;a href="#" id="go"&gt;Go to&lt;/a&gt;
              &lt;input name="goInput" type="hidden" data-role="datebox" id="goInput" data-options='{"mode": "calbox"}' /&gt;
          &lt;/li&gt;
          &lt;li&gt;
              &lt;a href="#" id="compare"&gt;Compare&lt;/a&gt;
              &lt;input name="compareInput" type="hidden" data-role="datebox" id="compareInput" data-options='{"mode": "calbox"}' /&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a onclick="goToday()" &gt;Today&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>When I click in #options the popup opens but not in an popup but in a new window! </p>
  
  <p>Does anyone has any idea why is this happening??</p>