Node Operation JavaScript DHTML



    Show Attribs
    
    function showattribs(e) {
        var e = document.getElementById("website");
        var elemList = "";
        for (var element in e) {
            var attrib = e.getAttribute(element);       
            elemList = elemList + element + ": " + attrib + "\n";
        }
        document.write(elemList);
    }
    


link