« The gods made Baller. »

My blog is generally aimed at helping people by putting information out there that I wish was out there when I ran into computer or programming issues. But in addition to that, you'll find the occasional recipe, thought, recommendation, or some pictures.

‘no element found’ in firebug or firefox javascript console

Filed Under (software, web) by james on 27-10-2006

Tagged Under : , ,

I think I figured it out. I think that the issue crops up if your server sends a response header of ‘Content-Type’ set to ‘text/xml’ and you send no content. The XMLHTTPRequest object then says ‘oh it’s xml? fine - i’ll just PARSE THIS and store it in the reponseXML property.’ At that point, the XML Parser probably bombs and nothing catches it. But anyway that’s just a hunch and I’m only blogging about it because I’m bored. I’ll have test results available later.

Comments:

One Response to “‘no element found’ in firebug or firefox javascript console”


  1. Solved if content-type of the response is “text/plain” and content is say a space (” “) - empty string doesn’t work.

Leave a Reply