js初步之小加法计算器

来源:互联网 发布:杜蕾斯淘宝快递 编辑:程序博客网 时间:2024/06/05 15:14
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title> New Document </title>  <meta name="Generator" content="EditPlus">  <meta name="Author" content="">  <meta name="Keywords" content="">  <meta name="Description" content=""> </head> <body><input type="text" name="txt" onkeydown="document.getElementById('codes').value=(event.keyCode)"/><input type="text" name="txt" id="codes"/> </body></html>