请教下拉的问题 这个不是什么下拉的,就是事先隐藏了一个发表评论的TBALE或者是DIV然后通过JS显示而已 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1<script> function show() { if (t2.style.display=="none") { t2.style.display="" //t3.style.display="none" } else { t2.style.display="none" //t3.style.display="" } } </script> <table name="t1" border="2"> <tr> <td> <form name="form1"> <input type="radio" onclick="show()">显示/影藏 </form> </td> </tr> </table> <table id="t2" border="2" style="display:none"> <tr> <td>t2</td> </tr> </table> <table id="t3" border="2"> <tr> <td>t3</td> </tr> </table> <table id="t4" border="2"> <tr> <td>t4</td> </tr> </table> 简单的例子 事先隐藏了一个发表评论的DIV ,单击按钮时使DIV出现就可以了。 NTKO Office书签集合 一道有难度的javascript题目 在翻页过程中选反复选框,提交时能提交所有选中的项 急,关于JS+JSP 关于图片坐标问题,有一点点难度。 怎样设置连接! 在frame里怎么跳出frame? 请问TXZY(木下藤吉郎),如何让外部js脚本中的函数可以使用中文?详情看我在18日提的问题。 如何实现菜单(不一般的哦) 定时器 JSON javascript捕获异常中判断浏览器这一部分有问题
function show()
{
if (t2.style.display=="none")
{
t2.style.display=""
//t3.style.display="none"
}
else
{
t2.style.display="none"
//t3.style.display=""
}
}
</script>
<table name="t1" border="2">
<tr>
<td>
<form name="form1">
<input type="radio" onclick="show()">显示/影藏
</form>
</td>
</tr>
</table>
<table id="t2" border="2" style="display:none">
<tr>
<td>t2</td>
</tr>
</table>
<table id="t3" border="2">
<tr>
<td>t3</td>
</tr>
</table>
<table id="t4" border="2">
<tr>
<td>t4</td>
</tr>
</table> 简单的例子