I had a question regarding the use of document.locati on. I have the following script:
<HTML>
<BODY>
<SCRIPT LANGUAGE=JAVASC RIPT>
window.status=' ';
document.locati on='file://c:/myfolder/myfile';
</SCRIPT>
</BODY>
</HTML>
This does not work when I browse to the page in Firefox but does in IE. If I enter the path in the Firefox address bar, it works; ie:
file://c:/myfolder/myfile
What am I doing wrong here?
Also will this work if I browse to the page from another client? That is, will the web server redirect the client to the file located on the server's c: drive rather than the local client?
I tried it from another machine and it did not seem to work.
<HTML>
<BODY>
<SCRIPT LANGUAGE=JAVASC RIPT>
window.status=' ';
document.locati on='file://c:/myfolder/myfile';
</SCRIPT>
</BODY>
</HTML>
This does not work when I browse to the page in Firefox but does in IE. If I enter the path in the Firefox address bar, it works; ie:
file://c:/myfolder/myfile
What am I doing wrong here?
Also will this work if I browse to the page from another client? That is, will the web server redirect the client to the file located on the server's c: drive rather than the local client?
I tried it from another machine and it did not seem to work.
Comment