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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JavaScript Download Functionality

Status
Not open for further replies.

esterlj

Programmer
Joined
May 16, 2001
Messages
1
Location
US
I am currently trying to create a javascript link that will allow the user to download in html format. Upon linking, the user should be prompted to open or save the file to a disk. As of now, clicking the link will only open the file. Is there any code that will prevent the browser from opening the file to download if it is an html file?
 
I can't think of any code to do this..maybe with a php or cgi..or you can always use winzip...

-Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top