W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<html> <head> <script type="text/javascript"> function showEnctype() { var x=document.getElementById("myForm") alert(x.enctype) } </script> </head> <body> <form id="myForm" enctype="application/x-www-form-urlencoded"> Name: <input type="text" value="Mickey Mouse" /> <input type="button" onclick="showEnctype()" value="Show enctype" /> </form> </body> </html>