Ive got a webview which loads a local html.
From that html I can easily navigate to another html via the <a href>-tag.
But surprisingly I cant use javascript to navigate between the two html's.
This code will not go to page2.html on load.
Any ideas why, and how I can get around this?
Thanks,
Daniel
From that html I can easily navigate to another html via the <a href>-tag.
Code:
<a href="page2.html">go to page2</a>
But surprisingly I cant use javascript to navigate between the two html's.
Code:
<body onLoad="window.location.href='page2.html';>
This code will not go to page2.html on load.
Any ideas why, and how I can get around this?
Thanks,
Daniel