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 [...]

PDF Manual for Script.aculo.us

Since the Script.aculo.us wiki seems to be down at the moment, and I don’t have enough experience with it to code it without the manual, I went out searching for a PDF manual. They’re a touch outdated, but I found a site that has a PDF manual and for script.aculo.us available for downloads. [...]

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();

  [...]

Add a preview to your WordPress comment box

Yesterday I was browsing around the blog world and came across this posting on keeping a clean desk. I found the topic interesting enough to leave a comment, but that’s not really the point. What I saw as I typed was that below the comment box was a preview of what I was [...]

Using AJAX to get city and state from zip code

This is something that I wrote a few years ago when I first started using AJAX type calls in my programs. It will allow you to enter a zip code, either 5 or 9 digit, and will load the city into a text field and state into a dropdown. If the city field [...]