Thanks Frinny, your cod eworks like a charm for my ajax instance which was worked on IE 6 but not on IE 8 (and perhaps IE 7). I though all IE have same version Id for their xmlhttp agents, but now I know I was wrong. I forgot the fact that MS is always happy with their version incompatibility ...lol