Choose Category
<script language="JavaScript"> <!-- function displayInfo(form){ var myWin = open("", "","width=450,height=200"); myWin.document.write("The defaultValue of the text box is: "); myWin.document.write(form.myText.defaultValue); myWin.document.write("<br>The name of the text area is: "); myWin.document.write(form.myTextArea.name); myWin.document.write("<br>The value of the button is: "); myWin.document.write(form.myButton.value); myWin.document.close(); } --> </script>