JavaScript DHTML/Security/Number Base Converter

Материал из Web эксперт
Перейти к: навигация, поиск

Number Base Converter in JavaScript

   <source lang="html4strict">

<html>

 <head>
   
   <title>Number Base Converter</title>
 </head>
 <body>
   <script language=JavaScript>
     
   </script>
   <td>  </td>
   <td vAlign=top>

Number Base Converter

Convert numbers from one base to another.

<form name=inp> <tbody> </form></tbody>
from base to base value to convert
<input onmousedown=clr() size=5 value=10 name=from> <input onmousedown=clr() size=5 value=16 name=to> <input onmousedown=clr() size=50 value=256 name=val>
<input onclick=doBaseCon() type=button value=calculate name=button> <input size=50 name=res>
         </td>
   </tr>
 </body>

</html>

      </source>