Continued AJAX problems
Nov 15, 2006

I'm still beset with the same AJAX problem that was standing in my way last month. The problem revolves around using responseXML.documentElement rather than responseText when passing data from a PHP server-side script to the JavaScript client-side script. For whatever reason, it just fails to work. At this point is seems extremely unlikely that the problem is one with my code, and I'm nearly 100% certain that it's not a problem with the way that I'm passing the XML from PHP to JavaScript. I managed to find a tutorial describing how to do what I want to do, but it uses exactly the same method I was already using, and their demonstration script exhibits the same problem as mine when I try to use it. This is starting to get pretty frustrating, especially as this is a project I'm doing for myself in my spare time and so don't really have the time to do the in-depth research it will probably require. Fortunately it also means I have no hard deadline... Anyway, I don't know if anyone who reads this knows anything about AJAX, but if you do, do you have any thoughts? Does the demo script from the tutorial work for you?
blog comments powered by Disqus