我也是啊<HTML>
<HEAD> <title>地区连动</title>
</HEAD>
<body>
<script language="javascript">
var a=document.all("form");
alert(a)
</script>
<table width="200" border="0" cellspacing="0" cellpadding="0">
<form id="form">
<tr>
<td><select id="city1" name="city1"><option>fasdf</select></td>
<td><select id="city2"></select></td>
<td><select id="city3"></select></td>
</tr>
</form>
</table>
</body>
</HTML>不知错在哪里,气死了
<HEAD> <title>地区连动</title>
</HEAD>
<body>
<script language="javascript">
var a=document.all("form");
alert(a)
</script>
<table width="200" border="0" cellspacing="0" cellpadding="0">
<form id="form">
<tr>
<td><select id="city1" name="city1"><option>fasdf</select></td>
<td><select id="city2"></select></td>
<td><select id="city3"></select></td>
</tr>
</form>
</table>
</body>
</HTML>不知错在哪里,气死了
二、name不应该赋 form 这样的关键字
<form id="form">
<tr>
<td><select id="city1" name="city1"><option>fasdf</select></td>
<td><select id="city2"></select></td>
<td><select id="city3"></select></td>
</tr>
</form>
<script language="javascript">
var a=document.all("form");
alert(a);
</script>
</table>