我有一个简单的表格
<div id="stylized" class="myform">
<form id="mysmartform">
<h1>CourtSmart Server Status</h1>
<p>Are the servers running?</p>
<label>Yes
<span class="small">All Servers Are Running</span>
</label>
<input type="radio" name="formradio" id="stylized" value="yes" />
<label>No
<span class="small">We Have A Problem</span>
</label>
<input type="radio" name="formradio" id="stylized" value="no" />
<label>eMail
<span class="small"></span>
</label>
<select name="formemail" size="1">
<option value="someone@example.com" selected="selected">someone@example.com</option>
<option value="someone@example.com">someone@example.com</option>
<option value="someone@example.com">someone@example.com</option>
<option value="someone@example.com">someone@example.com</option>
<option value="someone@example.com">someone@example.com</option>
</select>
<button type="submit" id="sendReport">Send Status Report</button>
<div class="spacer"></div>
使用 VBScript 我想访问所选单选按钮和所选电子邮件地址的值,只需执行一个简单的 MsgBox 即可显示它