Reputation: 7289
I am trying to open a local html file
window.open("file:///C:/Users/somepath/www/index.html", "", "width=500, height=500");
But this ends up in opening a blank page
(the html file exists in that path)
Upvotes: 0
Views: 1553
Reputation: 910
For security reasons both html files must to be in the same domain. A html file in the cloud can't open a local html file.
Upvotes: 1