Ciao.
Il seguente codice funziona in FF e Opera
ma non con IE non riesco proprio a capire
perchè PP


Codice PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"
>
<
html>
<
head>
<
title>Untitled Document</title>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<
script language="JavaScript" type="text/JavaScript">
function 
buildTable()
{
    var 
content document.getElementById('content');
    var 
mTable document.createElement('mTable');
    
mTable.setAttribute('cellspacing','0');
    
mTable.setAttribute('cellpadding','0');
    var 
tr document.createElement('tr');
    var 
td document.createElement('td');
    
td.appendChild(document.createTextNode('pippo'));
    
mTable.appendChild(tr);
    
mTable.appendChild(td);
    
alert(mTable);
    
content.appendChild(mTable);
}
window.onload = function()
{
buildTable();
}

</script>

</head>
<body>
<div id="content"></div>
</body>
</html>