this与$(this)的区别

1·表示对象不同:this表示js提供的当前对象, $(this)表示用JQ封装时候的当前对象。

2·过程不同:this对象可以直接用this.style来修饰, $(this)可以使用JQ提供的发方法访问样式。$(this).css("color : red").

原文地址:https://www.cnblogs.com/8023-CHD/p/10901787.html