2个回答
展开全部
你也没有说明是什么出字符串,所以只有举个例子给你看一下。
str="1,2,3,4,5"
sele=split(str,",")
response.write "<select name=""select"" id=""select"">"
for i=LBound(sele) To UBound(sele)
response.write "<option value="""&sele(i)&""">"&sele(i)&"</option>"
next
str="1,2,3,4,5"
sele=split(str,",")
response.write "<select name=""select"" id=""select"">"
for i=LBound(sele) To UBound(sele)
response.write "<option value="""&sele(i)&""">"&sele(i)&"</option>"
next
参考资料: http://www.w17x.com/AritcleDisplay.aspx?id=159
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询