URL’s opening to the same page on your iOs, iPhone, iPad development HTML.

The Problem – href links open to the same page, sometimes with a dot or grey plus sign appearing on the page.

If you’re developing an html page for iOS devices such as the iPhone, iPad, and iPod, and you’re wondering why the href links all open back to the same page, then I think I have a simple solution for you. There’s an explanation for why this is happening, but that’s beyond the scope of this post. I’ve seen others suggest to build your entire website into one index page, but that’s not feasable for more than a very simple static website.

The Solution
Add target=self to the “a” tag and that should bypass the navigation issues.

example:

< a target=”_self” href=”page2.html” class=”ui-btn ui-shadow ui-btn-corner-all ui-btn-up-c btn-showpg list-bttn” id=”showpg”>Link Description