yes thanks for the ideas that you gave.. its working now...
And one more thing I want to know, before using the XML system file method in Ajax, I used to write XML content to the response object in the
Java coding and read it in the Javascript. But when reading response object as
var responseXML = req.responseXML;
var details = responseXML.getElementsByTagName("details")[0];
I got null object at the second line...
So do you have any idea what would be the error there and can you suggest me which one is the best method to get data ufing Ajax... through response object or file system...and why?