首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

DOM-hasAttribute步骤

2012-07-26 
DOM-hasAttribute方法DOM hasAttribute()方法??? ----- ?如果当前元素节点有指定的属性,返回true,否则返回

DOM-hasAttribute方法

DOM hasAttribute()方法

?

?? ----- ?如果当前元素节点有指定的属性,返回true,否则返回false

?

/*@param name 必须的属性*/hasAttribute(name);

?

?

兼容性知识:

?

IE6 | IE7 不支持这个api

?

热点排行