<script type="text/javascript">
function show() { document.getElementById('area').style.display = 'block'; }
function hide() { document.getElementById('area').style.display = 'none'; }
</script>
<form action="email.php" name="form" id="form" onSubmit="return check()" method="post">
<input type="text" name="Fname"/><br />
<input type="text" name="Lname"/><br />
<input type="text" name="Address"/><br />
<input type="text" name="City"/><br />
<input type="text" name="State"/><br />
<input type="text" name="Zip"/><br />
<input type="text" name="Email"/><br />
<input type="text" name="Phone"/><br />
<input type="radio" name="Donation" value="One Time Annual, Gift of $365.00" onclick="hide();" />One Time Annual, Gift of $365.00<br />
<input type="radio" name="Donation" value="Monthly Gift of $30.00" onclick="hide();" />Monthly Gift of $30.00<br />
<input type="radio" name="Donation" value="Monthly Gift of $30.00" onclick="hide();" />Monthly Gift of $30.00<br />
<input type="radio" name="Donation" value="At Least $1 Per Day" onclick="hide();" />At Least $1 Per Day<br />
<input type="radio" name="Donation" onclick="show();" />I would like to give a one time gift of
<input type="text" id="area" name="Donation" style="display: none;" />
<input type="submit" value="Submit" name="action"/>
and in email.php page i use array('First Name','Last Name','Address','City','State','Zip','Email','Phone','Donation')``
当我选择最后一个单选按钮时,电子邮件中的值会出现,但是当我使用任何其他单选按钮时,值不会出现在电子邮件中,请帮助我...