紧急求助:CSS动态显示的问题
我要实现用户选择了:
<input type= "radio " name= "radiobutton " value= "1 " /> 热销产品
这个单选项就显示出:
<tr>
<td > 指数:
<input type= "text " name= "textfield " /> </td>
</tr>
否则不显示出来,我该怎么弄啊?刚学啊,希望能帮我!
------解决方案-------------------- <input type= "radio " name= "radiobutton " onclick= "document.getElementById( 'test ').style.display= 'block ' " />
<table id= "test " style= "display:none; ">
<tr>
<td> <input type= "text " name= "textfield " /> </td>
</tr>
</table>