SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: javascript for 'save target as'
Hybrid View
-
Feb 1, 2001, 16:30 #1
- Join Date
- Sep 2000
- Location
- Birmingham, AL
- Posts
- 120
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I'm looking for a javascript that will allow users to click on icon/image that will let them download a PDF file (rather than open it in their browser).
Is there a javascript that will do this function? Or am I stuck with the Right Click & and Save Target As option?
Thanks!
Joseph
-
Feb 1, 2001, 17:05 #2
- Join Date
- Jul 1999
- Location
- SC, USA
- Posts
- 390
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hey uwajes,
Unforunately, I don't think this is possible. Perhaps you could zip up the file. That's about all I can think of. The only action you can perform of saving something to the client's computer is to save the current page, and that's would only be in IE 4+.
aDogModerator at www.javascriptcity.com/forums/
Bookmarks