views:

35

answers:

1

I am trying to open a file share link from the window.open ....... but its adding the http://localhost/vdir/ before the path can any one say what is the problem?

A: 

Ok i solved it by adding file:// to share drive path

Grasshopper
While we're glad you found a solution, can you please elaborate on the original problem so that others might find your question and solution useful?
Levi Hackwith
I am sorry if i was not clear. I was trying to open the fileshare link ex. var str= \\servername\fildername\x.pdf from window.open(str) in a javasscript since i am not using file protocal file: the new window is opening with http://localhost/vdir/ \\servername\fildername\x.pdf which is going no where . Adding file: before str had solved my issueThanks
Grasshopper