What does $($(this)) mean?

后端 未结 6 1406
借酒劲吻你
借酒劲吻你 2021-02-04 23:53

I saw some code around the web that uses the following statement

if ($($(this)).hasClass(\"footer_default\")) {
      $(\'#abc\')
        .appendTo($(this))
             


        
6条回答
  •  逝去的感伤
    2021-02-05 00:17

    $(this) and $($(this)) both return jquery object.

    There is no difference between these two.

提交回复
热议问题