Menu
Hi!I really get confused about the trouble, please give me a hand. I have the following code to create a button with its event handler in javascript:
<script language=”JavaScript”>
var obj=window.document.createElement(“form”);
obj.innerHTML=”<input type=’button’ value=’xx’ onclick=”alert(‘123’)”>”;
window.document.body.appendChild(obj);
</script>
the code worked on Mozilla and Opera and even my collegue’s IE!!
However, it just not work on my IE?
We have the same pathes, the same IE version, the same OS version and patches. Is there any problem about system settings I should check?
Thank you!!