Skip to content Skip to sidebar Skip to footer

How To Launch Inappbrowser When A Webpage Is Loaded In Webview

I am launching a web page in worklight 6.2 container (for android and ios) by clicking a button on index.html page. In my web page I have used window.open(url,'_blank','location=ye

Solution 1:

_self:  Opens in the Cordova WebView if the URL is in the white list, otherwise it opens in the InAppBrowser.
_blank: Opens in the InAppBrowser.
_system: Opens in the system's web browser.

use self instead of blank


Post a Comment for "How To Launch Inappbrowser When A Webpage Is Loaded In Webview"