1<html> 2<head> <title> Testing </title> </head> 3<body> 4<form> 5 6 <input type="text" name="text1" > 7 <input type="button" name="button1" value="button" onclick="test1(this.form)"> 8 9</form> 10 11<SCRIPT LANGUAGE="JavaScript"> 12 function test1(form) { 13 alert(form.text1.value); 14 } 15</SCRIPT> 16<SCRIPT> 17 history.forward(); 18</SCRIPT> 19</body> 20</html> 21