javascript - event.currentTarget的值是null
PHPz
PHPz 2017-04-11 09:52:52
0
1
364

用的浏览器是chrome 50,其实firefox上也测试过了.先看代码

  • 1
  • 2
  • 3

问题的奇葩在于,打印出来的ev对象,可以看到currentTarget的值是null,但是直接访问的话,却发现他其实是由值的,这是为啥呢?

PHPz
PHPz

学习是最好的投资!

reply all (1)
巴扎黑

http://stackoverflow.com/questions/26496176/when-loggin-an-event-object-currenttarget-is-null-but-when-logging-event-curre

看看

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!