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()

posted on 2005-07-26 22:01  cy163  阅读(161)  评论(0编辑  收藏  举报

导航