You are here: irt.org | FAQ | JavaScript | Image | Q764 [ previous next ]
Try:
<script language="JavaScript"><!--
function gogetit() {
if (document.images) {
var myImage = new Images();
myImage.src = 'picture.gif';
}
}
//--></script>
<form><input type="button" value="Click Here" onClick="gogetit()"></form> |
Feedback on 'Q764 How can you force a download of an image with a form button?'