<input type="button" value="編輯主人寄語" onClick="show()">
<div style="display:none" id="div1">
<form id="form1" name="form1" method="post" action="jiyusave.asp" >
<textarea name="jiyu" cols="100" rows="3" id="jiyu"></textarea>
<input type="submit" name="button1" value="提交" onClick="show()">
</form>
</div>
<script>
function show()
{
var value = document.getElementById("div1").style.display;
if(value=="none")
{
document.getElementById("div1").style.display="block";
}
else
document.getElementById("div1").style.display="none";
}
</script>
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點(diǎn)擊舉報。