Back to Scripts page
Click in the box below, select all and copy to grab the script
<HTML> <HEAD> <TITLE>Write to Java</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT> <!-- Hide script from old browsers // This script copyright 1997, Tom Negrino and Dori Smith. // This script is from "JavaScript for the WWW, Visual QuickStart Guide, 2nd Ed." // For more information, see <http://www.chalcedony.com/javascript/>. // This script may be used and modified, but the copyright notice must remain intact. function startUp() { document.myApplet.newText(prompt("What do you want to say?","")) } // End hiding script from old browsers --> </SCRIPT> </HEAD> <BODY onload="startUp()"> <APPLET CODE='WriteIt.class' WIDTH=600 HEIGHT=50 NAME=myApplet> </APPLET> </BODY> </HTML>