title: How to handle empty anchors in a IOS webapp
body: <p>I have transformed a website into an IOS webapp, works perfect, but the only thing is that if I press a empty anchor (see code below) the page goes to the top or bottom of the page, this only happens in the webapp, and not if I use safari on the iPad. I <strong>cant</strong> replace all empty links so is there an solution for this?</p>
  
  <p>basic link</p>
  
  <pre><code>&lt;a href="#"&gt;some link&lt;/a&gt;
  </code></pre>
  
  <p>code that will work is</p>
  
  <pre><code>&lt;a href="javascript:void(0)"&gt;works&lt;/a&gt;
  </code></pre>
  
  <p><strong>EDIT: found the issue, if you are using an IOS webapp if will open new links in safari, therefor i used the prevent script from the mobile boilerplate <a href="https://github.com/h5bp/mobile-boilerplate" rel="nofollow">https://github.com/h5bp/mobile-boilerplate</a>.</strong></p>