0

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)

JSFIDDLE DEMO

Vignesh Subramanian
  • 6,921
  • 12
  • 78
  • 142

1 Answers1

1

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.

Absalón Valdés
  • 880
  • 7
  • 16