POCTAR

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

112
p112.html / p112.zip
Jednoduchy poctar
613b
NN 4.04, IE 4.0

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<HTML> <HEAD> <TITLE> JavaScript DESTINATION - P112 </TITLE> </HEAD> <BODY> <script language="JavaScript"> <!-- function calc(form) { form.result.value=eval(form.expr.value); } // --> </script> <form> <table border="3" width="350"> <tr> <th align="right">Vyraz:</th> <td align="center"><input type="text" size="15" name="expr"></td> <td align="center" rowspan="2"><input type="button" value=" Vypocitat " onclick="calc(this.form)"></td> </tr> <tr> <th align="right">Vysledok:</th> <td align="center"><input type="text" size="15" name="result"></td> </tr> </table> </form> </BODY> </HTML>
[ Navrat / BACK ]