Hi i made this code but it doesn't work
anybody can give a hand?Code:<html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <meta name="generator" content="Adobe GoLive"> <title>Untitled Page</title> <script type="javascript"><!-- function calc( ) { var text1=document.form.input.value; var text2=document.form.field2.value; var text2a=12; var text3=document.form.field3.write.value=text1*text2a+text2; document.form.field3.write. (var text3); } </script> </head> <body bgcolor="#ffffff"> <script type="javascript" language="JScript5.0"> function calc( ); </script> <p></p> <form id="form" action="(EmptyReference!)" method="get" name="form"> Field1 <p><input type="text" name="field1" size="2"></p> <p>Field2</p> <p><input type="text" name="field2" value="1.00" readonly size="1"></p> <p>Field3</p> <p><input type="text" name="field3" size="4"></p> </form> <p></p> </body> </html>
the calculation should be automatic and displayed in field3.
Thanks




Bookmarks