<html>
<head> </head>
<body>
<form name= "a ">
<table name= "b ">
<tr name= "c " >
<td name= "d " >
<select name= "e " onchange= "xx(this.parentElement.parentElement.parentElement.name) ">
<option > 1 </option>
<option > 2 </option>
<option > 3 </option>
<option > 4 </option>
</select>
</td>
<td> </td>
</tr>
<tr> </tr>
</table>
</form>
</body>
<script language= "javascript ">
function xx(a)
{
alert(a);
}
</script>
</html>
//输出undefined 为什么了? 不是应该输出b么?
------解决方案--------------------
<table>
<tbody>
<tr>
<td>