I have a requirement to open a new window(URL is dynamic) when I click on a button.
function openWindow(){
window.open('//www.google.com/','_blank');
}
Here my problem is , JavaScript is opening new window but Appliation name is also appending to URL. i.e it is opening new window with the below URL
http://localhost:8090/www.google.com/
I have tried all the combinations in URL but it is not working
Please do needful
http://www.google.com- which will probably redirect tohttps- but it works fine in firefox anyway