This will fail:
xxx = document.getElementById(“xxx”);
This will not:
var xxx = document.getElementById(“xxx”);
Apparently IE is storing every ID as READ ONLY variables in the global namespace, and you can’t reassign it (without using var).
This will fail:
xxx = document.getElementById(“xxx”);
This will not:
var xxx = document.getElementById(“xxx”);
Apparently IE is storing every ID as READ ONLY variables in the global namespace, and you can’t reassign it (without using var).
I contenuti di questo sito sono distribuiti con una licenza Creative Commons 2.5 eccetto dove diversamente specificato.
Additional comments powered by BackType