请教下拉的问题 这个不是什么下拉的,就是事先隐藏了一个发表评论的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出现就可以了。 用正则将某个区间的文字删除的问题 jQuery的$(this).height()在IE6和Safari 4.0.2中工作不正常。 请教一个问题,这个情况下alert改变了啥? 请教javascript中正则表达式中/g的含义 关于一个js函数来实现调用网页内容的问题 请教一个JS上下翻页的功能 table中,单击其中一行时,该行变红色,点另外一行时,另外一行变红色,只有一行被聚焦, 如何强行更改显示器分辨率 高分求助!请问怎么去掉IE的最大化和最小化按钮!! js解析xml文件实现下拉导航(求源码)请不要用JQURY 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> 简单的例子