createElement 方法创建一个input元素! 代码如下: var newInput = document.createElement("input");. 2、设定相关属性,如name,type等. 代码如下:.
確定! 回上一頁