When doing one of my client task, my AJAX codes always getting this errorObject doesn't support this property or method
on IE 6. Everything is fine under K-Meleon 1.5, Firefox 3 and Opera 9, but always getting error on IE 6. It's drive me crazy.
Here's one of quick resolution for whom facing same error with me:
The errornous code (in IE 6):
msg_container = document.getElementById("msg_container");
The correct code (works on all browser):
var msg_container = document.getElementById("msg_container");
Notice that there's a additional var declaration. So, the conclusion is: always use var before declaring/using a variable.
Read rest of these entry>>>







