asp中 怎么取 select列表的值?

来源:百度知道 编辑:UC知道 时间:2024/05/07 09:37:46
我在做个论坛,但其中有个--用户在注册时,有个要选取自定义的头像的select列表框中怎么插入那些头像的值?
例图地址:http://olv.photo.qq.com/?file=011651199C0A8C281B229A81813464C994FD839AE332F24BD31A1764F42C26C9
谢谢了.....
如果那些option value有很多项的话,怎么用ASP直接插入呢??
谢谢...

像这样:
<select name="UserPhoto" size="1" id="select" onChange="document.all.idface.src=options[selectedIndex].value;">
<option value="img/face/01.gif">女生头像—1</option>
<option value="img/face/02.gif">女生头像—2</option>
select>

select.value

dui