<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script type ="text/javascript" >
    function getE()
    {

   tempA=document.createElement('a'); 
tempA.href="#"; 
tempA.innerHTML="#"; 
tempA.setAttribute("title","fasdf");
    document.body.appendChild(tempA);
    
    
    ds = document.createElement("input");
    ds.type = "text";
    ds.value = "vvvv";
    document.body.appendChild(ds);
    }
    </script>
</head>
<body>
    <form >
    <div>
    <input type ="button" value ="onclick" onclick ="getE()" />
    
    </div>
    </form>
</body>
</html>

相关文章:

  • 2022-02-11
  • 2021-06-01
  • 2021-07-03
  • 2021-10-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
相关资源
相似解决方案