blob: f81560e4bd8b89dd027ec7efd04498489c22182c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
function boom()
{
var newTD = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
newTD.setAttribute("rowspan", 3);
document.getElementById("tr1").appendChild(newTD);
}
</script>
</head>
<body onload="boom();">
<table id="table" border="1">AAAA<tr id="tr1"></tr><tr><td><div style="column-width: 1px;">B C</div></td></tr></table>
</body>
</html>
|