日期:2014-05-16 浏览次数:20419 次
function removeClass(node,removeName){ var origClass = node.className; node.className = origClass.replace(removeName,""); }
Object.prototype.removeClass=function(removeName){ var origClass = this.className; his.className = origClass.replace(removeName,""); }