You may have started out your Web development life putting together HTML pages, where the biggest concern was getting a page to look correct in every browser (that is to say, in IE).
Any time you add technologies to a process, you add potential causes of problems, and working with XML and JSON is certainly no exception.
alert('In the something() function');
Then you'll know for certain that the function is being called.
is the name of the XMLHttpRequest variable, you would do this in the function that handles the request:
Note that I refer to the responseText
even if I'm expected XML. And if the returned text contains a lot of data, you may want to add it to the DOM or insert it into a textarea for better accessibility.
, the Firefox plug-in, will be your best friend. If you're not familiar with it already, then download and test it out today!
For more on related topics, please check out my books.