webview is not displayed when tab changed
I have an application with a tabgroup which contains 2 tabs(Home & About).
A webview which loads a html file called "index.html" is displayed in "Home" tab.
Everything is ok in first load but when "index.html" is redirected to another html page through "window.location" command,the "Home" tab doesn't go back to "index.html" and displays the current html page.
Can anyone help me?
Thanks!
2 Answers
-
Accepted Answer
Try setting the url property you need for your webView in the window's 'focus' event.
-
Thank you so much Kosso,
it worked