进来帮忙看看选择框改成下拉列表怎么改啊!!!

june37 2005-01-26 04:11:05
function SelectKind()
{
if(document.Edit.Kind[0].checked)
document.Edit.bntList.disabled=true;
else
{
if(document.Edit.isRMA[0].checked)
document.Edit.bntList.disabled=true;
else
document.Edit.bntList.disabled=false;
}
}
/////
<td>
<input type="radio" name="Kind" value="1" <%if Kind=1 then Response.Write " checked"%> onclick="SelectKind();">产品1
<input type="radio" value="0" name="Kind" <%if Kind=0 then Response.Write " checked"%> onclick="SelectKind();">产品2
</td>
...全文
44 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
AppleBBS 2005-01-26
  • 打赏
  • 举报
回复
要改成什么效果啊?
onlytiancai 2005-01-26
  • 打赏
  • 举报
回复
选择框支持多选,下拉框不支持多选,其它的一样呀,你想什么意思呀?
chang1216 2005-01-26
  • 打赏
  • 举报
回复
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script>
function SelectKind()
{
if(document.Edit.Kind[0].checked)
document.Edit.bntList.disabled=true;
else
{
if(document.Edit.isRMA[0].checked)
document.Edit.bntList.disabled=true;
else
document.Edit.bntList.disabled=false;
}
}
</script>
</head>

<body>
<td>
<form name="form1" method="post" action="">
<select name="select">
<option value="1" <%if Kind=1 then Response.Write " checked"%>>产品1</option>
<option value="1" <%if Kind=0 then Response.Write " checked"%>> 产品2</option>
</select>
</form> </td>

</body>
</html>
chang1216 2005-01-26
  • 打赏
  • 举报
回复
这是什么问题啊?

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧