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()。

以后会持续更新

猜你喜欢

转载自www.cnblogs.com/alice-cj/p/10709087.html