dev‎ > ‎javascript‎ > ‎

別ウィンドウに文字書き込み

2012/03/07 10:22 に Makoto Fukasu が投稿   [ 2012/03/07 10:24 に更新しました ]
function sample() {
  var w = window.open("","sample","width=100,height=100");
  w.document.open();
  w.document.write("sample");
  w.document.close();
}

Comments