Get Absolute Path With Script

admin

Administrator
Staff member
I'm using a window.open("file:///...") statement to open a local file in a new window, but realize that others will have the file in different directories, and would like to know how to get the window.open or equivelent to open a file that is locate in the same folder as the html page that is calling it, or a script that will locate the absolute path of the html that is calling it.

thanks
 
Back
Top