playground:playground
这是本文档旧的修订版!
目录
PlayGround
- index.html
<html> <head> </head> </html>
标题
var de = function() { return (typeof(window.de) == 'object') ? window.de : {}; }();
<html>
<head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Document</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mdui/1.0.1/css/mdui.min.css" /> </head> <body> <div class="mdui-textfield"> <input class="mdui-textfield-input" type="text" id="input" onchange="getMd5Value(this.value)" placeholder="值" /> <input class="mdui-textfield-input" type="text" id="result" disabled placeholder="结果" /> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/mdui/1.0.1/js/mdui.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min.js"></script> <script> function getMd5Value(value) { document.getElementById("result").value = CryptoJS.MD5(value); } </script> </body>
</html>
playground/playground.1608629960.txt.gz · 最后更改: 2020/12/22 17:39 由 admin