为什么选择不出头像??请教
半山岩 2005-12-13 11:25:31 各位朋友帮我看这段代码,选择头像的,头像文件名为01到10,为什么实现不了,看看错在哪?改下发过来
function showimage(){document.images.showimages.src="<%=imdeximg%>"+document.form.sex.options[document.form.sex.selectedIndex].value+""+document.form.img.options[document.form.img.selectedIndex].value+".gif";}
</script>
<td width="241">选择头像:
<select name="img" size="1" onChange="showimage()">
<% if m>10 then m=10
for i=1 to m
g=""
g=i
if len(i)>2 then g="0"&i%>
谢谢