日期:2014-05-16  浏览次数:20384 次

javascript 设置td的rowspan 问题,在网上没有找到,就是设置不成功
<html>
<head>
<script   language= "javascript ">
function   lock(){
document.getElementById( "zym ").rowspan= "2 ";
}
</script>
</head>
<body   onload= "lock() ">
<table   border= "1 "   cellpadding= "0 "   cellspacing= "0 ">
<tr> <td> 444 </td> <td   id= "zym "> dd </td> </tr>
<tr> <td> 444 </td> </tr>
</table>
</body>
</html>

------解决方案--------------------
rowSpan
------解决方案--------------------
rowSpan 大写S就可以了