我正在制作一个表格,并希望在表格的某个部分完成后发生一些事情。我有一些复选框、一个下拉菜单和三个只读文本字段。当复选框和下拉字段被填充时,我需要弹出一些东西,但不知道如何做到这一点。我尝试将表格放入表格中,但在此之后失败了,后来我阅读了此事,我发现这是不切实际的。无论如何,这是我的表单代码:
<form action="http://siedb1.sys.virginia.edu/~jhr3ct/Code/Reserve%20Confirmation.php">
Facility: <input type="checkbox" name="facility" value="AFC">AFC
<input type="checkbox" name="facility" value="Memorial Gym">Memorial Gym
<input type="checkbox" name="facility" value="Slaughter">Slaughter
<input type="checkbox" name="facility" value="North Grounds">North Grounds<br>
Type of Room/Court:
<select>
<option value="default">Choose room...</option>
<option value="squash">Squash</option>
<option value="handball">Handball</option>
<option value="racquetball">Racquetball</option>
<option value="multipurpose">Multipurpose</option>
</select><br>
Room: <input type="text" name="start" readonly="readonly"><br>
Start Time: <input type="text" name="start" readonly="readonly"><br>
End Time: <input type="text" name="end" readonly="readonly"><br><br>
<input id="submit" type="submit" value="Submit">
</form>
谢谢您的帮助!