2016-02-06 37 views

回答

1

尝试使用的onClick与肯定的单选按钮

onclick = "showForm()" 

那么你的文档中添加

<div id = "theform" style="display:none"> 
<form name = "myform"> 
..form contents here... 
</form> 
</div> 

<script type = "text/javascript"> 
function showForm() { 
document.getElementById("theform").style.display = "block"; 
} 
</script> 
相关问题