javascript小知识
<input type='button' id="btn1" value="button1"/>
方法1:var object=document.getElementById("btn1");
object.value="command1";
方法2:btn1.value="command1";
方法3:var object=document.getElementsByTagName("input")[0];
object.value="command1";