编辑您的代码:
查看结果:
<!DOCTYPE html> <html> <body> <h3>演示如何访问 Keygen 对象</h3> <p>点击按钮来创建 KEYGEN 元素。</p> <button onclick="myFunction()">试一下</button> <script> function myFunction() { var x = document.createElement("KEYGEN"); x.setAttribute("name", "security"); document.body.appendChild(x); } </script> </body> </html>
查看结果:
系统帮助
|
给我留言
|
收藏本站
Copyright © 2005-2008
www.cnn84.com
All Rights Reserved Ver:2.0
CNN84网是公益性便民网站,是为了给大家的日常生活查询及提供最快捷的出行指南
上午好!工作辛苦了,今天有不少新信息!快来看看吧!