getElementByName("innerText")这个是错的
只有getElementsByName("innerText")或者getElementById("innerText")
前者是个集合,后者是单个object
而且不要用innerText这样来命名吧,容易引起歧义