Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a file (.xls) from a browser (javascrpt)

Status
Not open for further replies.

katiesdad

Programmer
Sep 12, 2001
2
CA
I am trying to open a spreadsheet file using javascript in a web page. I know there is a file object but the things I have tried so far have not worked...

window.open("file:../../photos/Tenure.xls") - gets the file as gibberish in a browser

AND

var fso, f1;
fso = new ActiveXObject("Scripting.FileSystemObject");
f1 = fso.GetFile("c:\\Temp\Tenure.xls");
f1.open("w+")

Suggestions?

Thanks
jw :cool:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top