js 属性增改删操作,可参看菜鸟教程,这里记录一个小问题:disabled属性
使用setAttribute操作无法 禁用disabled属性,需使用removeAttribute操作,原因是只要有disabled,那他即会生效。