[Ctrl+A 全選 注:如需引入外部Js需刷新才能執行] 當然解決方法很簡單,在創建時,使用document.createElement("<input name='select'>")。不過還不知道是什么原因? 在Name屬性的說明中有這樣一句話: In Internet Explorer 5, the name property cannot be set at run time on anchor objects dynamically created with the createElement method. To create an anchor with a NAME attribute, include the attribute and value when using the createElement method, or use the innerHTML property.