只需一步,快速开始
移除方法:首先获取指定DOM对象,然后使用removeAttribute()方法来移除属性;语法格式“DOM对象.removeAttribute(元素的属性名)”。removeAttribute()方法可以删除具有指定名称的属性。
首页
分类
索引
我的