js 修改html标签属性值方法

			document.getElementById("kaptcha").src=str;

直接   x.属性名=xxx

猜你喜欢

转载自blog.csdn.net/qq_20156289/article/details/111461473