<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function Disp_Alert (form) {
alert (form.myText.value);
}
//-->
</SCRIPT>
<BODY>
<CENTER>
<FORM>
<TEXTAREA NAME="myText" COLS="30" ROWS="4">
</TEXTAREA><br>
<INPUT TYPE="button" Value="アラート表示" onClick="Disp_Alert(this.form)">
</FORM>
</CENTER>
</BODY>
</HTML>
|