タイトルバーに文字列を表示する

サンプルソース

<input id="txt1" type="text" value="テキスト1">
<input type="button" value="クリック" onclick="document.title=document.all.txt1.value">


サンプル

関連する内容






Copyright (C) JavaScript@Workshop All rights reserved.