window.open to open local image,pdf on windows platform using InAppBrowser
问题 I am working on cordova based hybrid application targeted to Windows 8.1 platform with InAppBrowser plugin added. I have used following code to open local image/pdf file: window.open("Screenshot.png", "_blank", "location=no"); But it does nothing...no exception and no image. I am able to use the same code to open text file. But the same code does not work with image/pdf/word/excel documents. Any help will be much appreciated. Thanks, Chirag. Update: I found solution. Following is the sample