getElementsByName&getElementById

id获取单个

name获取数组

猜你喜欢

转载自www.cnblogs.com/XiaoGao128/p/11999965.html