PDA

View Full Version : Code for download button



dbldee
10-19-2005, 02:54 PM
The following code shoould start a file download but it only goes to my directory

<form><input type="button" value="start download"
onclick="location.href='http://www.mydomain/myfolder;"></form>

Can some one tell what is missing to go directly to the file
The file can be downloaded by rightclicking "save as " in the directory but that is the step I would like to eliminate.

Click button to start download

The folder contains exe and help files...etc

Twey
10-19-2005, 02:58 PM
Can some one tell what is missing to go directly to the file
The filename.