我想要一个下拉菜单 第一个框中的选项是“州”和“省”,第二个将根据第一个选择(州->美国州,省->加拿大省)填充这是我的代码至今:
<form id="updateTreventLocation" action="
<table>
<%=Url.Action("SavedTreventLocation","Prod")%>" method="post">
<tr>
<td colspan="2" class="label">City:</td>
<td class="content">
<input type="text" maxlength="100" name="CityLocation" value="<%=EditTreventLocation.locationCity%>" />
</td>
</tr>
<tr>
<td colspan="2" class="label">Province/State:</td>
<td class="content">
<input type="text" maxlength="50" name="ProvinceLocation" value="<%=EditTreventLocation.locationProvince%>" />
</td>
</tr>
</table>
</form>