JavaScript this from jQuery this

后端 未结 4 873
既然无缘
既然无缘 2021-01-06 11:24

Is there a way to get JavaScript this from jQuery this?

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-06 12:07

    this == this, whatever this is.

    this is a not jquery it is a special, somewhat convoluted, javascript keyword that describes the current scope of execution.

    your challenge may be determining or controlling what this is.

提交回复
热议问题