The following piece of code is working on Android devices and iPhone simulator but not working on the iPhone device.
<a style="color:#1cffff" href="#" onclick="window.open('http://somesite.com.');"><u>mysite_name</u></a>
I have tried the following:
<a style="color:#1cffff" href="http://somesite.com">mysite_name</a>
But none of them have worked. Please advise.
Do you have an HTML
<base>tag in your document? Something like this:If so, all of your links will open in a separate window by default. You’ll probably need to get rid of that element or explicitly set a target on links that you want to open in the same window:
Here are some more details on the
<base>element.