Javascript Notes
From Federal Burro of Information
function showattrs(theObject) { var out="<pre>" for (var attr in theObject) { out+=attr+":"+ theObject[attr]+"\n" } out+="</pre>" var block = document.getElementById("showattrs") block.innerHTML=out }
Also see jquery notes