JavaScript 參考手冊
getElementsByName() 方法可返回帶有指定名稱的對象的集合。
所有主要瀏覽器都支持 getElementsByName() 方法
彈出指定名稱的元素個數(shù):