What does var $this = $(this) mean?

var $this = $(this)
声明一个变量,$this is the variable name, plus the $description is the jquery object.

Assign a value to the declared variable, which converts the this element to a jQuery object.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324962831&siteId=291194637