IE7, xmlhttprequest, and 1223 status code

I’m working on a program that is fairly Ajax heavy right now. Several of the JS routines need to call for XML from the server, and when there is no data to parse I’m sending a 204 header (no content) so that the JS can know there’s no data without having to parse the [...]

XML Parsing Error: junk after document element

Since I had to go through about 20 pages to find the cause of this error, I figured I’d throw up one more with the cause that I found. Hopefully it’ll help somebody spend less time debugging the problem than I had to spend.
I’ve got a PHP script outputting XML that’s called from an [...]

Using $_GET and $_POST together

I find myself writing PHP scripts to do backend Ajax work.  One of the problems I often come up against is that I need to be able to call the same script either using a query string and pulling the variables from $_GET or via a form and calling the variables from $_POST.  I usually [...]

Adsense notifier 0.9.6 released

A couple of months ago I noticed that the Adsense notifier down in my status bar was showing all zeros. At the same time Google started using Ajax in the Adsense pages to show reports, and I assumed the two were related. Since the last time there was a problem with the Adsense [...]

Debug window for Javascript

I wrote this short little function when I got tired of debugging JavaScript by using the alert() function. It pops up a new window and outputs whatever you send to the function along with the UTC date.
PLAIN TEXT
JavaScript:

function logOutput(message)

    {

    debugWindow = window.open(”, ‘dbgWindow’, ‘height=300,width=400′);

    var newDate = new Date();

  [...]