Remove all attributes

后端 未结 9 701
天涯浪人
天涯浪人 2020-11-27 04:01

Is it possible to remove all attributes at once using jQuery?


to



        
9条回答
  •  没有蜡笔的小新
    2020-11-27 04:44

    Today I have same issue. I think that it will be useful for you

    var clone = $(node).html();
    clone = $(''+ clone +'');
    clone.addClass('tmcRow');
    

提交回复
热议问题