javascript - How can I see the output of document.write while debugging? -
javascript - How can I see the output of document.write while debugging? -
i need step thought js scripts in firebug debugging purposes. script utilize document.write()
generate new html content , while can see code lines generate code, much see the generated contents while debugging.
in other words, can see the output document.write
while debugging?
update:
to avoid misunderstandings, need clarify mean debugging , scrutinizing other people's scripts banner scripts utilize document.write generate content. have no command on utilize of document.write, need explore output.
i not utilize document.write myself.
the easiest way write firebug console looks this: console.log("hello world")
you can pass many arguments want , joined in row, console.log(2,4,6,8,"foo",bar).
intro: firebug , logging api doc
javascript firebug
Comments
Post a Comment