zhangyaochun 发表于 2013-1-29 08:49:06

removeProperty与removeAttribute的区别应用

<div class="iteye-blog-content-contain" style="font-size: 14px;">简单地讲:removeProperty与removeAttribute的区别是:
 

[*]符合w3c的(gecko,opera,webkit)的使用removeProperty
[*]IE的使用removeAttribute
/**isString-judge the source is or not string**@function**@param source**@return {boolean}**/ZYC.lang.isString = function(source){    return Object.prototype.toString.call(source) === "";};
页: [1]
查看完整版本: removeProperty与removeAttribute的区别应用