1.我不知道这段代码哪里写错了?
2.有没有判断BUTTON被点击的语句?
3.这个代码的意思是,点击start按钮以后,按钮变成submit<html>   <body onload = "buttonConvert()">
 
      <div id = "control">
      </div>      <script type="text/javascript">
         <!--
         var convert = false;         function buttonConvert(){
            document.getElementById("control").innerHTML
            = "<form name = 'controlButton' action = ''>"
            + "<input id = 'startButton' type = 'button' value = 'start'"
            + "onclick = 'isClick()' />";            if(convert){
               document.getElementById("control").innerHTML
               = "<form name = 'controlButton' action = ''>"
               + "<input id = 'submitButton' type = 'submit' value = 'submit' />";
            }
         }         function isClick(){
            return convert = true;
         }                
         //-->
      </script>      
   </body>
</html>