下面的你可以参照下,
<script language="javascript" type="text/javascript"> function showit(obj)
{
var imges = new Array('http://i.microsoft.com/h/en-us/i/msnlogo.gif','http://www.microsoft.com/h/zh-cn/i/HP_13_5/feature/Vista_newsite_4_10.jpg');
var img = document.getElementById("img");
var tbl = document.getElementById("mytable");
img.setAttribute("src", imges[parseInt(obj.value)]);
tbl.setAttribute("background", imges[parseInt(obj.value)]);
}</script>
</HEAD><BODY>
<SELECT NAME="" onchange="showit(this);">
<option value="">-请选择-</option>
<option value="0">-img1-</option>
<option value="1">-imag2-</option>
</SELECT>
<img id="img" src='http://i.microsoft.com/h/en-us/i/msnlogo.gif' border='1'><br />
<TABLE id="mytable" border='1' background="" width="100%" height="100%">
<TR>
<TD>asd</TD>
<TD>asd</TD>
</TR>
<TR>
<TD>asd</TD>
<TD>asd</TD>
</TR>
<TR>
<TD>asd</TD>
<TD>asd</TD>
</TR>
</TABLE>
</BODY>
</HTML>