navigateToURL(urlReq, ‘_blank’);

By shaikhmo
In November 1, 2014
852 Views

Above code will open a new tab, but the url will be the SourcePage+www.shaikhmohsin.com

This happens because there was no protocol attached before the URL.

 

 

Below code will open the website properly when the protocol is attached to it.

 

 

Leave A Comment