Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Hemming code</title>
- <script type = "text/javascript">
- //alert("Alert");
- function Code(){
- someText = document.getElementById('inputText').value;
- someText += "000";
- document.getElementById("codeText").value = someText;
- }
- </script>
- </head>
- <body>
- <h1>Код Хэмминга</h1>
- <input type = "text" maxlength = "4" id = "inputText"/><br />
- <input type = "button" value = "Code" onClick = "Code()"/>
- <br />
- <input type = "text" id = "codeText"/>
- </body>
- </html>
Add Comment
Please, Sign In to add comment