Reserved keywords
Apparently 'item' is a reserved keyword in JavaScript. Bah. --Wim
Debugging JavaScript
If you code JS, then you might find this snip of debug code handy. For a given object e (such as event objects in IE or Mozilla), here is how you can see all the properties for that object, including the value of each property:
s = ""
for (propname in e) {
propval = eval("e." + propname);
s += propname + "=" + propval + "\n";
}
alert(s);
See also DHTML, ActionScript or Programming