code snippet for debugging Javascript script

http://www.javascriptkit.com/jsref/document.shtml


win2=window.open("") //open blank window and write to it
win2.document.open() //open document stream
win2.document.write("<b>Some text</b>")
win2.document.close()

你可能感兴趣的:(JavaScript)