About Nicholas C. Zakas

Recent Posts

DOM Tree Update

About four years ago, I wrote an article for WebReference entitled, Creating a Cross-Browser (DOM) Expandable Tree. At the time, the DOM was still fairly new and Netscape Navigator 4.7 was still in use by many people, so I got a lot of questions such as, “how can I make this work in Netscape?” My... […]

Alternate Ajax Techniques, Part 2

For those who enjoyed the first installment, the second part of the Alternate Ajax Techniques is now available. In this edition, I talk about using images and cookies to establish client-server communication on browsers that don’t support XMLHttp. Hope you enjoy it! […]

What do you want to see in Pro JS, 2nd Edition?

Everytime I see something cool with JavaScript, it goes on my personal “things to investigate for Pro JS second edition” list. I tried to make the first edition cover everything I could think of, but clearly I couldn’t think of everything. My question to everyone out there is this: what do you want to see... […]

XMLHttp Requests For Ajax

Recently, Wrox asked me to write up some excerpts from Professional Ajax to post online. I thought this was a great idea, since it gives people an idea about the content covered in the book. As a result, the first excerpt, XMLHttp Requests for Ajax is now available for viewing. It’s a basic overview of... […]

Adobe Jumps On The Ajax Bandwagon

Seems like everyone and their uncle has some sort of Ajax library these days. And if you’re uncle is Adobe, then you definitely need to be paying closer attention. Without too much fanfare, Adobe released a couple of libraries to aid in the mixing of Flex with Ajax. You can download the library from Adobe... […]


After so many years of people hacking into the AOL instant messaging service, apparently they’ve had enough and want to help people do it. AOL has just released the AIM Software Development Kit so you can create your own instant messaging client using the service. But don’t get any Trillian-type ideas in your head; the... […]


Seems like every day there’s a cool new Firefox add-in to aid in development. The latest is Firebug. This cool utility lives in the browser’s statusbar, monitoring each page you visit for problems. It reports what you tell it to report: JavaScript exceptions, CSS errors, XML errors, and more! It even peeks in on XMLHttp... […]

IE OnBeforeUnload Fun

Was debugging something today when I made a discovery. Using Internet Explorer’s onbeforeunload event handler, you can automatically pop up a confirmation window asking the user to continue navigating away or stay on the page with ever using confirm(). All you have to do is set your message in the window.event.returnValue property, and the browser... […]

Firefox OnBeforeUnload Fun!

So Kevin correctly pointed out that you can do the same onbeforeunload behavior in Firefox as you can in Internet Explorer. It does require a little bit of a tweak to use the DOM event model, though: window.onbeforeunload = function (oEvent) { oEvent.returnValue = "blah"; } See, even JavaScript authors can learn something new every... […]

Introducing Eureka v0.1

I like bookmarklets, I really do, but what I’ve always wanted was a way to interact directly with the JavaScript on a page without typing it into the address bar, formatting it, etc. Thus, I introduce Eureka. Eureka is a command-line JavaScript interpreter designed to interface with Internet Explorer. You can attach to a running... […]