Forum Moderators: open
<form name="f" enctype="multipart/form-data">
<img name="i" onload="alert('so that I can get the width/height of this pic here');">
<input type="file" name="p" onblur="i.src=p.value">
...
</form>
<img src="beetleshelp.gif" alt="The Beetles' Song: HELP!" name="beetlespic"><script language=javascript type="text/javascript">
<!--
var tempPic=document.images['beetlespic'];
alert(tempPic.width+","+tempPic.height)
//-->
</script>
By the way, the reason Firebird doesn't pick up the onLoad function is probably because it is an onLoad function. Try just putting the script in the BODY onload function, or maybe in just a script at the bottom of the page.