当然解决方法很简单,在创建时,使用document.createElement("")。不过还不知道是什么原因? 在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.