Ugh... need a preview button :)
Here's a more readable version (I hope):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> Image Swap OnClick </TITLE>
</HEAD>
<BODY>
<div id="myIMGDIV"><img id=myIMGTAG src=http://www.google.com/
<input type=button onclick="javascript:docume
</BODY>
</HTML>
Main Topics
Browse All Topics





by: crimson117Posted on 2006-02-22 at 07:35:40ID: 16019940
Does this do the trick?
ew Document</TITLE> EAD> /images/go ogle_sm.gi f">< /DIV> nt.getElem entById('m yIMGDIV'). innerHTML= '<img id=myIMGTAG src=http://us.i1.yimg.com/ us.yimg.co m/i/ww/bet a/y3.gif&g t;';" type=button> </BODY>
<pre><html>
<HEAD><TITLE>N
<META content=EditPlus name=Generator>
<META content="" name=Author>
<META content="" name=Keywords>
<META content="" name=Description></H
<BODY>
<DIV id=myIMGDIV><IMG id=myIMGTAG src="http://www.google.com
<INPUT onclick="javascript:docume
</html>