js/jquery遇到的坑总结

Posted alice-cj

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了js/jquery遇到的坑总结相关的知识,希望对你有一定的参考价值。

1.“removeAttribute is not a function” error message

原因以及解决方法:removeAttribute is a javascript DOM function. Since you are using $(), and thus operating on a jQuery object, you need to use the jQuery equivalent, removeAttr()。

 

 

以后会持续更新

 

以上是关于js/jquery遇到的坑总结的主要内容,如果未能解决你的问题,请参考以下文章