您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

JavaScript控制内容的隐藏和显示

2024/4/1 0:30:08发布12次查看
在jsp页面中包含以下一段类似代码:
<td align="left" colspan="3" rowspan="3">
             <nested:radio property="eventtype" value="显示"
onclick="$_$('#selectuser').css ({display:' '});"></nested:radio>显示
             <nested:radio property="eventtype" value="隐藏"
onclick="$_$('#selectuser').css ({display:' '}):"></nested:radio>隐藏
</td>
以下这段代码就是要控制显示的内容
<tr id="selectuser" style="display:none;">
           。。。。。。。。。。。
</tr>

<td height="35" id="selectuser" style="display:none;">
           。。。。。。。。。。。
</td>
当然也可根据具体情况将控制代码写在 function() 中
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product