a debugger to let me see the innerHTML of a div?

Giganews Newsgroups
Subject: a debugger to let me see the innerHTML of a div?
Posted by:  Jake Barnes (lkrubn…@geocities.com)
Date: 28 Sep 2006

What debugger would let me see the HTML in a div after I've added HTML
to the div using its innerHTML? That is:

var someInputHtml = prompt("input html");
var referenceToSomeDiv = document.getElementById("someDiv");
referenceToSomeDiv.innerHTML = someInputHtml;

When debugging, how do I now see what HTML is in the div "someDiv"?

Maybe there is a FireFox extension for this? Firebug?

Replies