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>