<table border="1" rules=ALL width="600">
<tr>
<td valign="top">
* Lost Key <input type="checkbox" name="lost_key" onclick="lost_key_onclick()">
</td>
</tr>
</table>
<script language="JavaScript">
<!--
function lost_key_onclick(){
if (document.form0.lost_key.checked){
document.writeln ("<table>"
document.writeln ("<tr>"
document.writeln ("<td>Reason:</td>"
document.writeln ("</tr>"
document.writeln ("<tr>"
document.writeln ("<td>"
document.writeln ("<textarea rows='10' cols='50' name='lostkey_reason'>"
document.writeln ("</textarea>"
document.writeln ("</td>"
document.writeln ("</tr>"
document.writeln ("</table>"
}
return true
}
-->
</SCRIPT>
Hi, I just want to know how to output it on the same form, instead of outputing a new form. Thanks!
<tr>
<td valign="top">
* Lost Key <input type="checkbox" name="lost_key" onclick="lost_key_onclick()">
</td>
</tr>
</table>
<script language="JavaScript">
<!--
function lost_key_onclick(){
if (document.form0.lost_key.checked){
document.writeln ("<table>"
document.writeln ("<tr>"
document.writeln ("<td>Reason:</td>"
document.writeln ("</tr>"
document.writeln ("<tr>"
document.writeln ("<td>"
document.writeln ("<textarea rows='10' cols='50' name='lostkey_reason'>"
document.writeln ("</textarea>"
document.writeln ("</td>"
document.writeln ("</tr>"
document.writeln ("</table>"
}
return true
}
-->
</SCRIPT>
Hi, I just want to know how to output it on the same form, instead of outputing a new form. Thanks!