如同前面设置代码所示,打完断点后,按f5执行程序。
点击调试控制台:输入
$(this)
init(1) [span.footnote] 解释了this目前的指向
$notes 解释了notes变量的指向。
init(1) [ol#notes]
如同前面设置代码所示,打完断点后,按f5执行程序。
点击调试控制台:输入
$(this)
init(1) [span.footnote] 解释了this目前的指向
$notes 解释了notes变量的指向。
init(1) [ol#notes]