<HTML> <head> <script language="javascript"> function viewValue(){ alert(document.forms[0].elements[0].value); } </script> </head> <body onLoad="viewValue()"> <form name="test"> <input type="text" name="testField" value="test"></input> </form> </body> </HTML>Dosyayı İndir