I want to retrieve all the nodes present in particular DIV element.see the below test page (firefox)
New Document <
var getComments = function(oNode) { var oChild, aComments = []; oNode = oNode || document; for (var n=0; n