[質問] Text と Write

  1. 開発、ごくろうさまです。

    document.selection.Text="foo";
    document.Write("foo");

    これ、選択中の動作も含めて、同じですよね。( 念のため )

     |  kinzoku  |  返信
  2. こんばんは~。

    > document.selection.Text="foo";
    > document.Write("foo");
    > これ、選択中の動作も含めて、同じですよね。( 念のため )

    はい、全く同じ動作になります。
    (一応、writeメソッドはIEなどのdocument.write() に似せて作ったものです。)

     |  Kuro  |  返信
スポンサーリンク