Hi,
With IE7, the following code doesn’t add the table to the page when button is clicked.
the code is also uploaded to [url]http://startupisrael.com/gpazi/triptouch/test.php
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “
<html>
<head>
</head>
<body>
<script language=”Javascript” type=”text/javascript”>
function func()
{
var mydiv = document.getElementById(“mydiv”);
var mytable = document.createElement(“table”);
var mytr = document.createElement(“tr”);
var mytd = document.createElement(“td”);
var mytext = document.createTextNode(“this is my text”);
mytd.appendChild(mytext);
mytr.appendChild(mytd);
mytable.appendChild(mytr);
mydiv.appendChild(mytable);
}
</script>
<div id=”mydiv”><button onclick=”func();”>click</button></div>
</body>
</html>