Eventually /dev/null

Random thoughts from an emerging Programmer

Internet Explorer and JavaScript Problems

I’ve seen in within my two years of JavaScript progamming some weird things, about browser behaviour. But the one I’ve discovered yesterday tops them all. Some of my JavaScript class use the document.createElement function within it’s init procedure. The Script is working fine used within one Website, even with IE. But when the Script is added to another Website, IE complaints that document.createElement isn’t supported by this Object. An alert directly before the call is executed shows:

function createElement() {
[native Code]

But it still doesn’t work in IE.
Someone ever encountered that problem? I’m currently missing a solutin except the try to manually create the HTML-Node.