Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<head>
<script>
function boom()
{
document.getElementById("c").setAttribute('span', 2);
document.getElementById("cg").setAttribute('span', 2);
}
</script>
</head>
<body onload="boom();">
<table><colgroup id="cg"><col span="3" id="c" /></colgroup></table>
</body>
</html>