當(dāng)然解決方法很簡(jiǎn)單,在創(chuàng)建時(shí),使用document.createElement("<input name='select'>")。不過(guò)還不知道是什么原因? 在Name屬性的說(shuō)明中有這樣一句話: 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.