1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
<HTML><HEAD><TITLE>Amount to credit</TITLE></HEAD><BODY>
<script language='Javascript1.2'>
function testNumber(n){
if(isNaN(n)){
alert('type a number!');
return false }}
</script>
<FORM name ='AccountForm' action=http://localhost:8080/OnlineBankingSystem/servlet/transfer_5 method='POST' onsubmit='return testNumber(this.elements[AMOUNT].value)' >
<TABLE width='600' border='2'><TR><TD>Type the amount you want</TD>
<TD><input type='text' name='AMOUNT'></TD></TR>
<TR><TD>From account</TD><TD>account autre</TD></TR>
<TR><TD>to account</TD><TD>account bleu</TD></TR>
</TABLE>
<input type='hidden' name='DEBIT' value='443'>
<input type='hidden' name='CREDIT' value='44'>
<BR><input type='submit' value='valider'><BR>
</FORM></BODY></HTML> |